From: Manuel Klimek Date: Tue, 1 Nov 2016 10:30:50 +0000 (+0000) Subject: Fix parenthesized assert (nfc). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e8953739582dd974a008c1d0a392d1a0cbd1608;p=clang Fix parenthesized assert (nfc). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285685 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index f676a9d48f..2c8061564f 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -3048,8 +3048,8 @@ const Attr *FunctionDecl::getUnusedResultAttr() const { /// an externally visible symbol, but "extern inline" will not create an /// externally visible symbol. bool FunctionDecl::isInlineDefinitionExternallyVisible() const { - assert(doesThisDeclarationHaveABody() || - willHaveBody() && "Must be a function definition"); + assert((doesThisDeclarationHaveABody() || willHaveBody()) && + "Must be a function definition"); assert(isInlined() && "Function must be inline"); ASTContext &Context = getASTContext();