Skip to content

Commit ca06637

Browse files
author
Robert Marsh
committed
C++: add qldoc comment
1 parent 094b06e commit ca06637

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowUtil.qll

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@ class ImplicitParameterNode extends ParameterNode, TInstanceParameterNode {
182182
override predicate isParameterOf(Function fun, int i) { f = fun and i = -1 }
183183
}
184184

185+
/**
186+
* INTERNAL: do not use.
187+
*
188+
* A node that represents the value of a variable after a function call that
189+
* may have changed the variable because it's passed by reference or because an
190+
* iterator for it was passed by value or by reference.
191+
*/
185192
class DefinitionByReferenceOrIteratorNode extends PartialDefinitionNode {
186193
Expr inner;
187194
Expr argument;
@@ -215,7 +222,6 @@ class DefinitionByReferenceOrIteratorNode extends PartialDefinitionNode {
215222
}
216223
}
217224

218-
219225
/**
220226
* A node that represents the value of a variable after a function call that
221227
* may have changed the variable because it's passed by reference.

0 commit comments

Comments
 (0)