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

Member predicate DefImpl::getIndirection

Gets the index (i.e., the number of loads required) of this definition or use.

Note that this is not the definition’s (or use’s) index in the enclosing basic block. To obtain this index, use DefOrUseImpl::hasIndexInBlock/2 or DefOrUseImpl::hasIndexInBlock/3.

int getIndirection()