Member predicate Stmt::Stmt::getEnclosingBlock

Gets the nearest enclosing block of this statement in the source, if any.

Block getEnclosingBlock()