Update shared/rangeanalysis/codeql/rangeanalysis/RangeAnalysis.qll

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Geoffrey White
2024-03-01 17:06:48 +00:00
committed by GitHub
parent 0e24ed14da
commit c663809cc7

View File

@@ -393,7 +393,10 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
Location getLocation();
/**
* Gets the expression associated with the semantic bound, given a delta.
* Gets an expression that equals this bound plus `delta`.
*
* For the zero-bound this gets integer constants equal to `delta`, and for
* other bounds this gets expressions equal to the bound while `delta = 0`.
*/
Sem::Expr getExpr(D::Delta delta);
}