C++: Remove the type restriction on 'GuardConditionFromNotExpr' since this class also applies to C++.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-01-16 16:55:10 +00:00
parent 54faba21ba
commit d0bd6eb2eb
3 changed files with 6 additions and 1 deletions

View File

@@ -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
)
}