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:35:00 +00:00
committed by GitHub
parent 5a12a0ad62
commit 1198d23b96

View File

@@ -292,7 +292,7 @@ class Node extends TIRDataFlowNode {
* ```cpp
* sink(x++);
* ```
* in the above program, there will not be flow from the node `n` such that
* in the above program, there will not be flow from a node `n` such that
* `n.asDefinition() instanceof IncrementOperation` to the argument of `sink`
* since the value passed to `sink` is the value before to the increment.
* However, there will be dataflow from the node `n` such that