Fix parenthesized assert (nfc).
authorManuel Klimek <klimek@google.com>
Tue, 1 Nov 2016 10:30:50 +0000 (10:30 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 1 Nov 2016 10:30:50 +0000 (10:30 +0000)
llvm-svn: 285685

clang/lib/AST/Decl.cpp

index f676a9d..2c80615 100644 (file)
@@ -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();