Skip to content

Commit c375497

Browse files
authored
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
1 parent a839c92 commit c375497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ private predicate exprNodeShouldBeIndirectOperand(IndirectOperand node, Expr e,
13541354
// When an argument (qualifier or position) is a PR value and the
13551355
// parameter (qualifier or positional) is a (const) reference, IR
13561356
// construction introduces a temporary `IRVariable`. The `VariableAddress`
1357-
// instruction has the argument as it's `getConvertedResultExpression`
1357+
// instruction has the argument as its `getConvertedResultExpression`
13581358
// result. However, the instruction actually represents the _address_ of
13591359
// the argument. So to fix this mismatch, we have the indirection of the
13601360
// `VariableAddressInstruction` map to the expression.

0 commit comments

Comments
 (0)