mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Add an explanatory comment.
This commit is contained in:
@@ -983,9 +983,10 @@ module CFG {
|
||||
lastNode(getExpr(i), pred, normalCompletion()) and
|
||||
succ = MkCaseNode(this, i)
|
||||
or
|
||||
// visit guard node if there is one
|
||||
pred = MkCaseNode(this, i) and
|
||||
succ = getExprEnd(i, _) and
|
||||
succ != pred
|
||||
succ != pred // this avoids self-loops if there isn't a guard node
|
||||
or
|
||||
pred = getExprEnd(i, false) and
|
||||
succ = getExprStart(i + 1)
|
||||
|
||||
Reference in New Issue
Block a user