Skip to content

Commit 913357b

Browse files
committed
C++: Fix incorrect QLDoc.
1 parent 5a90b25 commit 913357b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ private module Cached {
818818
/**
819819
* Holds if `left == right + k` is `areEqual` given that test is `testIsTrue`.
820820
*
821-
* Beware making mistaken logical implications here relating `areEqual` and `testIsTrue`.
821+
* Beware making mistaken logical implications here relating `areEqual` and `value`.
822822
*/
823823
cached
824824
predicate compares_eq(
@@ -1093,7 +1093,7 @@ private module Cached {
10931093
* Simplify conditions in the source to the canonical form l < r + k.
10941094
*/
10951095

1096-
/** Holds if `left < right + k` evaluates to `isLt` given that test is `testIsTrue`. */
1096+
/** Holds if `left < right + k` evaluates to `isLt` given that test is `value`. */
10971097
cached
10981098
predicate compares_lt(
10991099
ValueNumber test, Operand left, Operand right, int k, boolean isLt, AbstractValue value

0 commit comments

Comments
 (0)