Member predicate Function::getEnclosingContainer

Gets the enclosing function or toplevel of this function.

StmtContainer getEnclosingContainer()