Skip to content

Commit b21ad3b

Browse files
committed
Fix -Wparentheses warnings. NFC.
1 parent 3ea4ccd commit b21ad3b

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
@@ -6384,10 +6384,10 @@ ExprResult Sema::BuildCallExpr(Scope *Scope, Expr *Fn, SourceLocation LParenLoc,
63846384
if (Context.isDependenceAllowed() &&
63856385
(Fn->isTypeDependent() || Expr::hasAnyTypeDependentArguments(ArgExprs))) {
63866386
assert(!getLangOpts().CPlusPlus);
6387-
assert(Fn->containsErrors() ||
6388-
llvm::any_of(ArgExprs,
6389-
[](clang::Expr *E) { return E->containsErrors(); }) &&
6390-
"should only occur in error-recovery path.");
6387+
assert((Fn->containsErrors() ||
6388+
llvm::any_of(ArgExprs,
6389+
[](clang::Expr *E) { return E->containsErrors(); })) &&
6390+
"should only occur in error-recovery path.");
63916391
QualType ReturnType =
63926392
llvm::isa_and_nonnull<FunctionDecl>(NDecl)
63936393
? dyn_cast<FunctionDecl>(NDecl)->getCallResultType()

0 commit comments

Comments
 (0)