mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
11 lines
165 B
Plaintext
11 lines
165 B
Plaintext
import cpp
|
|
|
|
class EmptyBlock extends Block {
|
|
EmptyBlock() {
|
|
this.isEmpty()
|
|
}
|
|
}
|
|
|
|
from IfStmt ifStmt
|
|
where ifstmt.getThen() instanceof EmptyBlock
|
|
select ifstmt |