Skip to content

Commit 4058185

Browse files
committed
Java: Adapt to changes in CFG library
1 parent aa78c59 commit 4058185

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java/ql/lib/semmle/code/java/ControlFlowGraph.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ private module NonReturningCalls {
468468

469469
private module Input implements InputSig1, InputSig2 {
470470
private import java as J
471+
private import codeql.util.Void
471472

472473
predicate cfgCachedStageRef() { CfgCachedStage::ref() }
473474

@@ -533,6 +534,8 @@ private module Input implements InputSig1, InputSig2 {
533534
l = TYield() and n instanceof SwitchExpr
534535
}
535536

537+
class CallableBodyPartContext = Void;
538+
536539
predicate inConditionalContext(Ast::AstNode n, ConditionKind kind) {
537540
kind.isBoolean() and
538541
(

0 commit comments

Comments
 (0)