зеркало из https://github.com/github/codeql.git
Shared: Correct and clarify doc for SemBound.getExpr.
This commit is contained in:
Родитель
50ad45944c
Коммит
0edfafeb06
|
@ -393,12 +393,11 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
|
||||||
Location getLocation();
|
Location getLocation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets an expression that equals this bound plus `delta`. For example given
|
* Gets an expression that equals this bound plus `delta`.
|
||||||
* the expression `x = foo() + 1` the variable `x` has a bound with
|
|
||||||
* expression `call to foo()` and delta `-1`.
|
|
||||||
*
|
*
|
||||||
* For the zero-bound this gets integer constants equal to `delta`, and for
|
* For the zero-bound this gets integer constants equal to `delta`, for any
|
||||||
* other bounds this gets expressions equal to the bound while `delta = 0`.
|
* value `delta`. For other bounds this gets expressions equal to the bound
|
||||||
|
* and `delta = 0`.
|
||||||
*/
|
*/
|
||||||
Sem::Expr getExpr(D::Delta delta);
|
Sem::Expr getExpr(D::Delta delta);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче