Skip to content

Commit cca6052

Browse files
committed
C++: Use 'operandNode' to generate the string for indirect operands.
1 parent f1c4fa2 commit cca6052

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
@@ -957,7 +957,7 @@ class RawIndirectOperand extends Node, TRawIndirectOperand {
957957
}
958958

959959
override string toStringImpl() {
960-
result = instructionNode(this.getOperand().getDef()).toStringImpl() + " indirection"
960+
result = operandNode(this.getOperand()).toStringImpl() + " indirection"
961961
}
962962
}
963963

0 commit comments

Comments
 (0)