зеркало из https://github.com/github/codeql.git
Swift: Use getFullyConverted in CFG generation
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
Родитель
77fd9172fa
Коммит
b5f1296cc2
|
@ -558,13 +558,13 @@ module Stmts {
|
|||
or
|
||||
// or to the getNextCall if the condition is false.
|
||||
c instanceof FalseCompletion and
|
||||
astFirst(ast.getNextCall(), succ)
|
||||
astFirst(ast.getNextCall().getFullyConverted(), succ)
|
||||
)
|
||||
or
|
||||
// Flow from last element of loop body back to getNextCall
|
||||
astLast(ast.getBody(), pred, c) and
|
||||
c.continuesLoop(ast) and
|
||||
astFirst(ast.getNextCall(), succ)
|
||||
astFirst(ast.getNextCall().getFullyConverted(), succ)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче