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

Member predicate TryStmt::getStmt

Gets the ‘body’ statement of this ‘try’ statement.

For example, for

try { f(); } catch (...) { g(); }

the result is { f(); }.

Stmt getStmt()