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 7f6efae commit 3a1a9a7Copy full SHA for 3a1a9a7
cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/Operand.qll
@@ -412,6 +412,9 @@ class CallTargetOperand extends RegisterOperand {
412
*/
413
class ArgumentOperand extends RegisterOperand {
414
override ArgumentOperandTag tag;
415
+
416
+ /** Gets the `CallInstruction` for which this is an argument. */
417
+ CallInstruction getCall() { result.getAnArgumentOperand() = this }
418
}
419
420
/**
0 commit comments