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

Member predicate Stmt::getEnclosingBlock

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

BlockStmt getEnclosingBlock()