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

Member predicate Opcode::hasOperand

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

predicate hasOperand(OperandTag tag)