CodeQL library for C/C++
codeql/cpp-all 0.4.4 (changelog, source)
Search

Member predicate BinaryOperation::hasOperands

Holds if e1 and e2 (in either order) are the two operands of this binary operation.

predicate hasOperands(Expr e1, Expr e2)