We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ASSERT
1 parent a9d72fb commit ce273f4Copy full SHA for ce273f4
lib/Sema/TypeCheckExpr.cpp
@@ -797,7 +797,7 @@ Expr *CallerSideDefaultArgExprRequest::evaluate(
797
// simple literals.
798
transaction.abort();
799
(void)param->getTypeCheckedDefaultExpr();
800
- ASSERT(ctx.Diags.hadAnyError());
+ CONDITIONAL_ASSERT(ctx.Diags.hadAnyError());
801
}
802
return new (ctx) ErrorExpr(initExpr->getSourceRange(), paramTy);
803
0 commit comments