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 7f5330d commit 945ecffCopy full SHA for 945ecff
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -162,6 +162,12 @@ class ExprNode extends InstructionNode {
162
* as `x` in `f(x)` and implicit parameters such as `this` in `x.f()`
163
*/
164
class ParameterNode extends InstructionNode {
165
+ ParameterNode() {
166
+ instr instanceof InitializeParameterInstruction
167
+ or
168
+ instr instanceof InitializeThisInstruction
169
+ }
170
+
171
/**
172
* Holds if this node is the parameter of `c` at the specified (zero-based)
173
* position. The implicit `this` parameter is considered to have index `-1`.
0 commit comments