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

Member predicate ClassAggregateLiteral::getAFieldExpr

Gets an 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 getAFieldExpr(Field field)