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

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)