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

Member predicate BinaryInstruction::hasOperands

Holds if this instruction’s operands are op1 and op2, in either order.

predicate hasOperands(Operand op1, Operand op2)