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
This commit is contained in:
Aaron Ballman 2015-03-07 15:16:27 +00:00
parent 1e0774077e
commit b36506466f

View File

@ -1270,8 +1270,8 @@ unsigned DwarfLinker::cloneAttribute(DIE &Die,
/// \returns wether any reloc has been applied.
bool DwarfLinker::applyValidRelocs(MutableArrayRef<char> 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;