1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Adding parenthesis around logical expressions to silence a -Wparentheses warning; NFC.

llvm-svn: 231567
This commit is contained in:
Aaron Ballman 2015-03-07 15:16:27 +00:00
parent cd50273bc9
commit 4b640d848d

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;