CodeQL library for C/C++
Search

Member predicate Function::getEntryPoint

Gets the first node in this function’s control flow graph.

For most functions, this first node will be the BlockStmt returned by getBlock. However in C++, the first node can also be a FunctionTryStmt.

Stmt getEntryPoint()