mirror of
https://github.com/github/codeql.git
synced 2026-05-14 11:19:27 +02:00
Java: Adapt to changes in CFG library
This commit is contained in:
@@ -468,6 +468,7 @@ private module NonReturningCalls {
|
||||
|
||||
private module Input implements InputSig1, InputSig2 {
|
||||
private import java as J
|
||||
private import codeql.util.Void
|
||||
|
||||
predicate cfgCachedStageRef() { CfgCachedStage::ref() }
|
||||
|
||||
@@ -533,6 +534,8 @@ private module Input implements InputSig1, InputSig2 {
|
||||
l = TYield() and n instanceof SwitchExpr
|
||||
}
|
||||
|
||||
class CallableBodyPartContext = Void;
|
||||
|
||||
predicate inConditionalContext(Ast::AstNode n, ConditionKind kind) {
|
||||
kind.isBoolean() and
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user