mirror of
https://github.com/github/codeql.git
synced 2026-03-22 07:26:45 +01:00
7 lines
247 B
Plaintext
7 lines
247 B
Plaintext
import cpp
|
|
|
|
from Block 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
|