mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
CPP: Don't use getFollowingStmt.
This commit is contained in:
@@ -143,7 +143,7 @@ private predicate bbLoopConditionAlwaysTrueUponEntrySuccessor(BasicBlock pred, B
|
||||
loopConditionAlwaysTrueUponEntry(loop, _) and
|
||||
(
|
||||
(
|
||||
succ = loop.(Loop).getFollowingStmt() and
|
||||
not succ = loop.(Loop).getStmt() and
|
||||
pred.getAFalseSuccessor() = succ and
|
||||
skipsLoop = true
|
||||
) or (
|
||||
|
||||
Reference in New Issue
Block a user