Skip to content

Commit 4474b54

Browse files
committed
C++: Add more QLDoc.
1 parent 46b47db commit 4474b54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,9 +1751,12 @@ class DefinitionByReferenceNode extends IndirectArgumentOutNode {
17511751
}
17521752

17531753
/**
1754-
* A `Node` corresponding to a variable in the program, as opposed to the
1755-
* value of that variable at some particular point. This can be used for
1756-
* modeling flow in and out of global variables.
1754+
* A `Node` corresponding to a global (or `static` local) variable in the
1755+
* program, as opposed to the value of that variable at some particular point.
1756+
* This is used to model flow through global variables (and `static` local
1757+
* variables).
1758+
*
1759+
* There is no `VariableNode` for non-`static` local variables.
17571760
*/
17581761
class VariableNode extends Node, TGlobalLikeVariableNode {
17591762
Variable v;

0 commit comments

Comments
 (0)