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

Member predicate ArrayOrVectorAggregateLiteral::getAnElementExpr

Gets an expression within the aggregate literal that is used to initialize element elementIndex, if present.

This predicate may have multiple results since an element can be initialized multiple times in the same initializer.

Expr getAnElementExpr(int elementIndex)