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::isEmpty

Holds if the block has no statements.

For example, the block

{ }

is empty, as is the block

{
  // a comment
}
predicate isEmpty()