Skip to content

Commit 0aba965

Browse files
committed
C++: Don't mention deprecated class
The language tests were failing because they don't tolerate mentioning a deprecated class anywhere.
1 parent a59c0fa commit 0aba965

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,12 @@ ParameterNode parameterNode(Parameter p) { result.getParameter() = p }
303303
VariableNode variableNode(Variable v) { result.getVariable() = v }
304304

305305
/**
306+
* DEPRECATED: See UninitializedNode.
307+
*
306308
* Gets the `Node` corresponding to the value of an uninitialized local
307309
* variable `v`.
308310
*/
309-
UninitializedNode uninitializedNode(LocalVariable v) { result.getLocalVariable() = v }
311+
Node uninitializedNode(LocalVariable v) { none() }
310312

311313
/**
312314
* Holds if data flows from `nodeFrom` to `nodeTo` in exactly one local

0 commit comments

Comments
 (0)