mirror of
https://github.com/github/codeql.git
synced 2026-06-24 22:27:03 +02:00
Cfg: Change AST/CFG for CatchClauses to use a pattern.
This commit is contained in:
@@ -138,7 +138,9 @@ private module Ast implements AstSig<Location> {
|
||||
final private class FinalCatchClause = J::CatchClause;
|
||||
|
||||
class CatchClause extends FinalCatchClause {
|
||||
AstNode getVariable() { result = super.getVariable() }
|
||||
AstNode getPattern() { result = super.getVariable() }
|
||||
|
||||
AstNode getVariable() { none() }
|
||||
|
||||
Expr getCondition() { none() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user