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

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 )