mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C++: Remove the type restriction on 'GuardConditionFromNotExpr' since this class also applies to C++.
This commit is contained in:
@@ -268,7 +268,6 @@ private class GuardConditionFromNotExpr extends GuardConditionImpl {
|
||||
exists(NotExpr notExpr, Type t |
|
||||
this = notExpr.getOperand() and
|
||||
t = this.getUnspecifiedType() and
|
||||
not t instanceof BoolType and
|
||||
ir.getUnconvertedResultExpression() = notExpr
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user