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

Member predicate Function::getBlock

Gets the block that is the function body.

For C++ functions whose body is a function try statement rather than a block, this gives the block guarded by the try statement. See FunctionTryStmt for further information.

BlockStmt getBlock()