We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586c5b9 commit 207dcb0Copy full SHA for 207dcb0
cpp/ql/lib/semmle/code/cpp/Variable.qll
@@ -140,7 +140,8 @@ class Variable extends Declaration, @variable {
140
* This does _not_ include the initialization of the variable. Use
141
* `Variable.getInitializer()` to get the variable's initializer,
142
* or use `Variable.getAnAssignedValue()` to get an expression that
143
- * is assigned to this variable somewhere in the program.
+ * is the right-hand side of an assignment or an initialization of
144
+ * the varible.
145
*/
146
Assignment getAnAssignment() { result.getLValue() = this.getAnAccess() }
147
0 commit comments