CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (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()