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

Member predicate ArrayExpr::getArrayOffset

Gets the expression giving the index into the array.

This is 0 in both arr[0] and 0[arr].

Expr getArrayOffset()