Skip to content

Commit b33ffc7

Browse files
committed
Remove an assert I forgot to remove
1 parent acda73c commit b33ffc7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/Sema/SemaChecking.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10540,8 +10540,6 @@ static std::optional<IntRange> TryGetExprRange(ASTContext &C, const Expr *E,
1054010540
bool Approximate) {
1054110541
E = E->IgnoreParens();
1054210542

10543-
assert(MaxWidth == C.getIntWidth(GetExprType(E)));
10544-
1054510543
// Try a full evaluation first.
1054610544
Expr::EvalResult result;
1054710545
if (E->EvaluateAsRValue(result, C, InConstantContext))

0 commit comments

Comments
 (0)