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

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2023-12-04 10:34:32 +00:00
committed by GitHub
parent 3a61dd095c
commit 09117d3869

View File

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