CodeQL library for C/C++
Search

Member predicate Expr::getEnclosingBlock

Gets the nearest enclosing set of curly braces around this expression in the source, if any.

BlockStmt getEnclosingBlock()