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

Member predicate DefImpl::hasIndexInBlock

Holds if this definition (or use) has index index in block block, and is a definition (or use) of the variable sv

predicate hasIndexInBlock(SourceVariable sv, IRBlock block, int index)