CodeQL library for C/C++
codeql/cpp-all 0.12.8-dev (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)