Member predicate Expr::ExprOrType::getEnclosingFunction

Gets the function in which this expression or type appears, if any.

Function getEnclosingFunction()