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

Member predicate ArrayOrVectorAggregateLiteral :: getElementExpr

DEPRECATED: Use getAnElementExpr instead.

Gets the 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 getElementExpr ( int elementIndex )