From: Aaron Ballman Date: Sat, 7 Mar 2015 15:16:27 +0000 (+0000) Subject: Adding parenthesis around logical expressions to silence a -Wparentheses warning... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b36506466fd02d583381fa986b6aa9c97a7e045e;p=oota-llvm.git Adding parenthesis around logical expressions to silence a -Wparentheses warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231567 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/dsymutil/DwarfLinker.cpp b/tools/dsymutil/DwarfLinker.cpp index 3d16d195bf5..bcdd9cb7c03 100644 --- a/tools/dsymutil/DwarfLinker.cpp +++ b/tools/dsymutil/DwarfLinker.cpp @@ -1270,8 +1270,8 @@ unsigned DwarfLinker::cloneAttribute(DIE &Die, /// \returns wether any reloc has been applied. bool DwarfLinker::applyValidRelocs(MutableArrayRef Data, uint32_t BaseOffset, bool isLittleEndian) { - assert(NextValidReloc == 0 || - BaseOffset > ValidRelocs[NextValidReloc - 1].Offset && + assert((NextValidReloc == 0 || + BaseOffset > ValidRelocs[NextValidReloc - 1].Offset) && "BaseOffset should only be increasing."); if (NextValidReloc >= ValidRelocs.size()) return false;