mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01: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