CodeQL library for C/C++
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()