mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
C++: Remove toStringImpl predicate that is overridden in every subclass
This commit is contained in:
@@ -390,12 +390,6 @@ private class Node0 extends Node, TNode0 {
|
||||
|
||||
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() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user