Member predicate Expr::ExprOrType::getContainer

Gets the statement container (function or toplevel) in which this expression or type appears.

StmtContainer getContainer()