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

Member predicate Opcode::hasOperand

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

predicate hasOperand(OperandTag tag)