File tree 1 file changed +6
-3
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1751,9 +1751,12 @@ class DefinitionByReferenceNode extends IndirectArgumentOutNode {
1751
1751
}
1752
1752
1753
1753
/**
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.
1757
1760
*/
1758
1761
class VariableNode extends Node , TGlobalLikeVariableNode {
1759
1762
Variable v ;
You can’t perform that action at this time.
0 commit comments