Add (...) around && clause to appeace gcc 4.8's warning
authorEli Bendersky <eliben@google.com>
Mon, 28 Apr 2014 22:19:12 +0000 (22:19 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 28 Apr 2014 22:19:12 +0000 (22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207452 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index c2ecc8a37e4c5d5a70248507ed9127605573ceec..2dc539ed9cca3c847206cebc046b75ff8fb6ded0 100644 (file)
@@ -591,9 +591,9 @@ std::unique_ptr<DIE> DwarfDebug::constructScopeDIE(DwarfCompileUnit &TheCU,
   DIScope DS(Scope->getScopeNode());
 
   assert(Scope->getInlinedAt() ||
-         !DS.isSubprogram() && "Only handle inlined subprograms here, use "
-                               "constructSubprogramScopeDIE for non-inlined "
-                               "subprograms");
+         (!DS.isSubprogram() && "Only handle inlined subprograms here, use "
+                                "constructSubprogramScopeDIE for non-inlined "
+                                "subprograms"));
 
   SmallVector<std::unique_ptr<DIE>, 8> Children;