Merge pull request #2719 from aschackmull/java/deprecate-parexpr

Java: Deprecate ParExpr
This commit is contained in:
yo-h
2020-01-30 18:23:13 -05:00
committed by GitHub
49 changed files with 90 additions and 182 deletions

View File

@@ -4,6 +4,5 @@ import semmle.code.java.controlflow.Guards
from Guard g, BasicBlock bb, boolean branch
where
g.controls(bb, branch) and
not g instanceof ParExpr and
g.getEnclosingCallable().getDeclaringType().hasName("Logic")
select g, branch, bb