Skip to content

Commit 4951571

Browse files
authored
Merge pull request #18488 from geoffw0/cleanup
C++: Fix a couple of typos.
2 parents 23612b4 + 9600846 commit 4951571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/rangeanalysis/RangeAnalysisUtils.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ predicate relOpWithSwapAndNegate(
121121
}
122122

123123
/**
124-
* Holds if `cmp` is an equality operation (`==` or `!=`) with fully-converted
124+
* Holds if `cmp` is an equality operation (`==` or `!=`) with fully-converted
125125
* children `lhs` and `rhs`, and `isEQ` is true if `cmp` is an
126126
* `==` operation and false if it is an `!=` operation.
127127
*
128-
* For example, if `rel` is `x == 5` then
128+
* For example, if `cmp` is `x == 5` then
129129
* `eqOpWithSwap(cmp, x, 5, true)` holds.
130130
*/
131131
private predicate eqOp(EqualityOperation cmp, Expr lhs, Expr rhs, boolean isEQ) {

0 commit comments

Comments
 (0)