Skip to content

Commit 09117d3

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 3a61dd0 commit 09117d3

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
@@ -285,7 +285,7 @@ class Node extends TIRDataFlowNode {
285285
* For assignments, `node.asDefinition()` and `node.asExpr()` will both exist
286286
* for the same dataflow node. However, for expression such as `x++` that
287287
* both write to `x` and read the current value of `x`, `node.asDefinition()`
288-
* will give you the node corresponding to the value after the increment, and
288+
* will give the node corresponding to the value after the increment, and
289289
* `node.asExpr()` will give the node corresponding to the value before the
290290
* increment. For an example of where this patterns, consider the following:
291291
*

0 commit comments

Comments
 (0)