mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
9 lines
255 B
Plaintext
9 lines
255 B
Plaintext
import cpp
|
|
|
|
from BlockStmt s, int i, Stmt f, boolean succ
|
|
where
|
|
s.getParentStmt().hasChild(s, i) and
|
|
s.getParentStmt().hasChild(f, i + 1) and
|
|
if f = s.getASuccessor() then succ = true else succ = false
|
|
select s, i, f, count(s.getASuccessor()), succ
|