Skip to content

Commit 23f4f56

Browse files
author
git apple-llvm automerger
committed
Merge commit 'b21ad3b66bce' from llvm.org/master into apple/main
2 parents 656d97c + b21ad3b commit 23f4f56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6399,10 +6399,10 @@ ExprResult Sema::BuildCallExpr(Scope *Scope, Expr *Fn, SourceLocation LParenLoc,
63996399
if (Context.isDependenceAllowed() &&
64006400
(Fn->isTypeDependent() || Expr::hasAnyTypeDependentArguments(ArgExprs))) {
64016401
assert(!getLangOpts().CPlusPlus);
6402-
assert(Fn->containsErrors() ||
6403-
llvm::any_of(ArgExprs,
6404-
[](clang::Expr *E) { return E->containsErrors(); }) &&
6405-
"should only occur in error-recovery path.");
6402+
assert((Fn->containsErrors() ||
6403+
llvm::any_of(ArgExprs,
6404+
[](clang::Expr *E) { return E->containsErrors(); })) &&
6405+
"should only occur in error-recovery path.");
64066406
QualType ReturnType =
64076407
llvm::isa_and_nonnull<FunctionDecl>(NDecl)
64086408
? dyn_cast<FunctionDecl>(NDecl)->getCallResultType()

0 commit comments

Comments
 (0)