Skip to content

Commit 68b414d

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 0fe7715 commit 68b414d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ class Node extends TIRDataFlowNode {
337337
* - For the definition generated by `int y = ...` the result is
338338
* also `x += 2`.
339339
*
340-
* For assignments, `node.asDefinition()` and `node.asExpr()` will both exist
340+
* For assignments, `node.asDefinition(_)` and `node.asExpr()` will both exist
341341
* for the same dataflow node. However, for expression such as `x++` that
342342
* both write to `x` and read the current value of `x`, `node.asDefinition()`
343343
* will give the node corresponding to the value after the increment, and

0 commit comments

Comments
 (0)