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

Member predicate Opcode::hasOperand

Holds if the instruction must have an operand with the specified OperandTag.

predicate hasOperand(OperandTag tag)