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

Member predicate DefImpl::getIndirectionIndex

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 getIndirectionIndex()