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:
parent
cd50273bc9
commit
4b640d848d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user