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

Member predicate GlobalUse::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()