C: do the minimal change to ValueNumberBound instead

This commit is contained in:
erik-krogh
2022-12-12 22:17:50 +01:00
parent 698e05f85a
commit 92a7e787a8

View File

@@ -286,7 +286,15 @@ module SemanticExprConfig {
)
}
class Bound = IRBound::Bound;
class Bound instanceof IRBound::Bound {
string toString() { result = super.toString() }
final Location getLocation() { result = super.getLocation() }
}
private class ValueNumberBound extends Bound instanceof IRBound::ValueNumberBound {
override string toString() { result = IRBound::ValueNumberBound.super.toString() }
}
predicate zeroBound(Bound bound) { bound instanceof IRBound::ZeroBound }