mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java/Kotlin: Add a consistency query for blocks
This commit is contained in:
6
java/ql/consistency-queries/blocks.ql
Normal file
6
java/ql/consistency-queries/blocks.ql
Normal file
@@ -0,0 +1,6 @@
|
||||
import java
|
||||
|
||||
from BlockStmt b, Expr e
|
||||
where e.getParent() = b
|
||||
select b, e
|
||||
|
||||
Reference in New Issue
Block a user