formatting

This commit is contained in:
BazookaMusic
2026-06-01 15:21:39 +02:00
parent cc12740c0e
commit 71a363545a
5 changed files with 61 additions and 100 deletions

View File

@@ -10,24 +10,4 @@ private import codeql.rangeanalysis.Bound as SharedBound
private module BoundImpl = SharedBound::Bound<J::Location, BoundSpecific::BoundDefs>;
/**
* A bound that may be inferred for an expression plus/minus an integer delta.
*/
class Bound = BoundImpl::Bound;
/**
* The bound that corresponds to the integer 0. This is used to represent all
* integer bounds as bounds are always accompanied by an added integer delta.
*/
class ZeroBound = BoundImpl::ZeroBound;
/**
* A bound corresponding to the value of an SSA variable.
*/
class SsaBound = BoundImpl::SsaBound;
/**
* A bound that corresponds to the value of a specific expression that might be
* interesting, but isn't otherwise represented by the value of an SSA variable.
*/
class ExprBound = BoundImpl::ExprBound;
import BoundImpl

View File

@@ -29,4 +29,4 @@ module BoundDefs implements SharedBound::BoundDefinitions<J::Location> {
predicate interestingExprBound(Expr e) {
e.(J::FieldRead).getField() instanceof J::ArrayLengthField
}
}
}