Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for C/C++
codeql/cpp-all 4.3.1 (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()