We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a9f7a9 commit d14b993Copy full SHA for d14b993
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll
@@ -52,7 +52,11 @@ private class SideEffectArgumentNode extends ArgumentNode {
52
pos = getArgumentPosOfSideEffect(read.getIndex())
53
}
54
55
- override string toString() { result = "Argument " + read.getIndex() + " indirection" }
+ override string toString() {
56
+ if read.getIndex() = -1
57
+ then result = "This indirection"
58
+ else result = "Argument " + read.getIndex() + " indirection"
59
+ }
60
61
62
private newtype TReturnKind =
0 commit comments