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

Member predicate BlockStmt::getAStmt

Gets a body statement of this block.

For example, for the block

{ int a; int b = 1; a = b; }

it would have 3 results, for the declarations of a and b and for the expression statement a = b.

Stmt getAStmt()