Skip to content

Commit 31fa230

Browse files
committed
C++: Remove toStringImpl predicate that is overridden in every subclass
1 parent 4ee13a3 commit 31fa230

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,6 @@ private class Node0 extends Node, TNode0 {
390390

391391
override DataFlowType getType() { result = node.getType() }
392392

393-
override string toStringImpl() {
394-
// This predicate is overridden in subclasses. This default implementation
395-
// does not use `Instruction.toString` because that's expensive to compute.
396-
result = node.toStringImpl()
397-
}
398-
399393
override predicate isGLValue() { node.isGLValue() }
400394
}
401395

0 commit comments

Comments
 (0)