File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ private import Node0ToString
99private import DataFlowUtil
1010
1111private class DebugNode0ToString extends Node0ToString {
12+ DebugNode0ToString ( ) {
13+ // Silence warning about `this` not being bound.
14+ exists ( this )
15+ }
16+
1217 override string instructionToString ( Instruction i ) { result = i .getDumpString ( ) }
1318
1419 override string operandToString ( Operand op ) {
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ private import DataFlowUtil
1010private import DataFlowPrivate
1111
1212private class NormalNode0ToString extends Node0ToString {
13+ NormalNode0ToString ( ) {
14+ // Silence warning about `this` not being bound.
15+ exists ( this )
16+ }
17+
1318 override string instructionToString ( Instruction i ) {
1419 if i .( InitializeParameterInstruction ) .getIRVariable ( ) instanceof IRThisVariable
1520 then result = "this"
You can’t perform that action at this time.
0 commit comments