Cfg: Address review comments.

This commit is contained in:
Anders Schack-Mulligen
2026-02-27 16:35:25 +01:00
parent 94121f19ca
commit ab94524328
2 changed files with 107 additions and 38 deletions

View File

@@ -21,7 +21,7 @@ private import Cfg2
import Public
/** Provides an implementation of the AST signature for Java. */
module Ast implements AstSig<Location> {
private module Ast implements AstSig<Location> {
private import java as J
class AstNode = ExprParent;
@@ -474,7 +474,6 @@ private module Input implements InputSig1, InputSig2 {
catch.getACaughtType() instanceof TypeThrowable
or
exists(TryStmt try, int last |
// not Exceptions::expectUncaught(try) and
catch.getACaughtType() instanceof TypeException and
try.getCatchClause(last) = catch and
not exists(try.getCatchClause(last + 1))