CodeQL library for C/C++
codeql/cpp-all 1.1.0 (changelog, source)
Search

Member predicate Expr::getEnclosingBlock

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

BlockStmt getEnclosingBlock()