CodeQL library for C/C++
Search

Member predicate ConstructorFieldInit::getExpr

Gets the expression to which the field is initialized.

This is typically either a Literal or a FunctionCall to a constructor, but more complex expressions can also occur.

Expr getExpr()