JS: review fixups in documentation

This commit is contained in:
Esben Sparre Andreasen
2018-08-20 15:12:52 +02:00
parent 19e5db75a3
commit 605695e117
3 changed files with 7 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ predicate isConstant(Expr e) {
}
/**
* Holds if `e` directly uses a parameter's initial value as passed in from the caller.
* Holds if `e` directly uses a parameter's negated or initial value as passed in from the caller.
*/
predicate isInitialParameterUse(Expr e) {
// unlike `SimpleParameter.getAnInitialUse` this will not include uses we have refinement information for
@@ -103,8 +103,8 @@ predicate isConstantBooleanReturnValue(Expr e) {
* - constants (including references to literal constants);
* - negations of constants;
* - defensive checks;
* - parameters, as passed in from the caller;
* - constant boolean returned values
* - expressions that rely on inter-procedural parameter information;
* - constant boolean returned values.
*/
predicate whitelist(Expr e) {
isConstant(e) or