C++: Remove implied conjunction.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-05-06 17:03:42 +02:00
parent e0606d61b6
commit d1eb774737

View File

@@ -191,8 +191,7 @@ predicate noThrowInTryBlock(NewOrNewArrayExpr newExpr, BadAllocCatchBlock catchB
not convertedExprMayThrow(cand)
) and
try.getACatchClause() = catchBlock and
newExpr.getEnclosingBlock().getEnclosingBlock*() = try.getStmt() and
not newMayThrow(newExpr)
newExpr.getEnclosingBlock().getEnclosingBlock*() = try.getStmt()
)
}