mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Give ErrorExpr default control flow
This prevents a CFG dead-end because of one ErrorExpr
This commit is contained in:
@@ -477,6 +477,8 @@ private module ControlFlowGraphImpl {
|
||||
or
|
||||
this instanceof Call // includes both expressions and statements
|
||||
or
|
||||
this instanceof ErrorExpr
|
||||
or
|
||||
this instanceof ReturnStmt
|
||||
or
|
||||
this instanceof ThrowStmt
|
||||
|
||||
Reference in New Issue
Block a user