Skip to content

Commit 215bd3d

Browse files
yoffaschackmull
andauthored
Update shared/controlflow/codeql/controlflow/ControlFlowGraph.qll
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
1 parent 9e69738 commit 215bd3d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

shared/controlflow/codeql/controlflow/ControlFlowGraph.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,9 @@ module Make0<LocationSig Location, AstSig<Location> Ast> {
15931593
or
15941594
n1.isAfter(loopstmt.getBody()) and
15951595
n2.isAdditional(loopstmt, loopHeaderTag())
1596-
or
1596+
)
1597+
or
1598+
exists(LoopStmt loopstmt |
15971599
n1.isAfter(getLoopElse(loopstmt)) and
15981600
n2.isAfter(loopstmt)
15991601
)

0 commit comments

Comments
 (0)