mirror of
https://github.com/github/codeql.git
synced 2026-02-20 17:03:41 +01:00
CFG: Mark redo edges out of for loops
This commit is contained in:
@@ -1327,9 +1327,9 @@ module Trees {
|
||||
first(this.getConditionNode(), succ) and
|
||||
c.continuesLoop()
|
||||
or
|
||||
last(this.getBodyNode(), pred, any(RedoCompletion rc)) and
|
||||
last(this.getBodyNode(), pred, c) and
|
||||
first(this.getBodyNode(), succ) and
|
||||
c instanceof SimpleCompletion
|
||||
c instanceof RedoCompletion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user