Skip to content

Commit f79c140

Browse files
committed
C++: Cosmetic: use [0, 1] instead of [0 .. 1]
1 parent fd0937e commit f79c140

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/exprs

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Expr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class BinaryOperation extends Operation, @bin_op_expr {
544544
* binary operation.
545545
*/
546546
predicate hasOperands(Expr e1, Expr e2) {
547-
exists(int i | i in [0 .. 1] |
547+
exists(int i | i in [0, 1] |
548548
this.hasChild(e1, i) and
549549
this.hasChild(e2, 1 - i)
550550
)

0 commit comments

Comments
 (0)