CPP: Don't use getFollowingStmt.

This commit is contained in:
Geoffrey White
2019-06-03 15:30:04 +01:00
parent 536adaae7f
commit ef3ceb5910
3 changed files with 2 additions and 3 deletions

View File

@@ -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 (