C++: Remove toStringImpl predicate that is overridden in every subclass

This commit is contained in:
Jeroen Ketema
2023-03-09 10:29:17 +01:00
parent 4ee13a3234
commit 31fa230c0d

View File

@@ -390,12 +390,6 @@ private class Node0 extends Node, TNode0 {
override DataFlowType getType() { result = node.getType() } override DataFlowType getType() { result = node.getType() }
override string toStringImpl() {
// This predicate is overridden in subclasses. This default implementation
// does not use `Instruction.toString` because that's expensive to compute.
result = node.toStringImpl()
}
override predicate isGLValue() { node.isGLValue() } override predicate isGLValue() { node.isGLValue() }
} }