File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ predicate errorCondition(Variable v, Expr cond) {
129
129
* - `cond` checks that `v` is not equal to `-1`, or
130
130
* - `cond` checks that `v` is greater than or equal than `0`, or
131
131
* - `cond` checks that `v` is greater than `-1`, or
132
- * - `cond` checks that `v` is not some common success value (see `errorCondition`).
132
+ * - `cond` checks that `v` is not some common error value (see `errorCondition`).
133
133
*/
134
134
predicate successCondition ( Variable v , Expr cond ) {
135
135
exists ( NEExpr ne |
@@ -198,7 +198,7 @@ predicate checkedError(Variable v, ControlFlowNode n) {
198
198
199
199
/**
200
200
* Holds if the current value of the variable `v` at control-flow node
201
- * `n` may have been checked against a common set of *error * values.
201
+ * `n` may have been checked against a common set of *success * values.
202
202
*/
203
203
predicate checkedSuccess ( Variable v , ControlFlowNode n ) {
204
204
successSuccessor ( v , n )
You can’t perform that action at this time.
0 commit comments