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

Member predicate Operand::getDef

Gets the Instruction whose result is the value of the operand. Unlike getAnyDef, this also has no result when isDefinitionInexact holds, which means that the resulting instruction must always be exactly the be the value of this operand.

Instruction getDef()