C++: exclude ZeroBounds in relative stage

This commit is contained in:
Robert Marsh
2023-03-14 10:41:50 -04:00
parent b4b7507fe4
commit 267c341965

View File

@@ -30,6 +30,10 @@ private module ConstantBounds implements BoundSig<FloatDelta> {
private module RelativeBounds implements BoundSig<FloatDelta> {
class SemBound instanceof SemanticBound::SemBound {
SemBound() {
not this instanceof SemanticBound::SemZeroBound
}
string toString() { result = super.toString() }
Location getLocation() { result = super.getLocation() }