mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
10 lines
185 B
Plaintext
10 lines
185 B
Plaintext
/**
|
|
* @name whilestmt03
|
|
* @description No while condition has more than two successors.
|
|
*/
|
|
|
|
import cpp
|
|
|
|
from WhileStmt ws
|
|
where count(ws.getCondition().getASuccessor()) > 2
|
|
select ws |