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

Predicate tvalueNumberOfOperand

Gets the value number assigned to the exact definition of op, if any. Returns at most one result.

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.gvn.internal.ValueNumberingInternal
TValueNumber tvalueNumberOfOperand(Operand op)