Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0937e commit f79c140Copy full SHA for f79c140
1 file changed
cpp/ql/src/semmle/code/cpp/exprs/Expr.qll
@@ -544,7 +544,7 @@ class BinaryOperation extends Operation, @bin_op_expr {
544
* binary operation.
545
*/
546
predicate hasOperands(Expr e1, Expr e2) {
547
- exists(int i | i in [0 .. 1] |
+ exists(int i | i in [0, 1] |
548
this.hasChild(e1, i) and
549
this.hasChild(e2, 1 - i)
550
)
0 commit comments