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

Predicate ignoreOperand

Holds if operand is an operand that is not used by the dataflow library. Ignored operands are not recognized as uses by SSA, and they don’t have a corresponding (Indirect)OperandNode.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternalsCommon
predicate ignoreOperand(Operand operand)