CodeQL library for C/C++
codeql/cpp-all 0.4.4 (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()