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

Member predicate ClassAggregateLiteral::getFieldExpr

DEPRECATED: Use getAFieldExpr instead.

Gets the expression within the aggregate literal that is used to initialize field field, if present.

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

Expr getFieldExpr(Field field)