mirror of
https://github.com/github/codeql.git
synced 2026-03-15 12:06:51 +01:00
docs: rename ql-training-rst > ql-training
(cherry picked from commit 65573492e7)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java
|
||||
|
||||
class EmptyBlock extends Block {
|
||||
EmptyBlock() {
|
||||
this.getNumStmt() = 0
|
||||
|
||||
}
|
||||
|
||||
from IfStmt ifstmt
|
||||
where ifstmt.getThen() instanceof
|
||||
EmptyBlock
|
||||
select ifstmt
|
||||
Reference in New Issue
Block a user