Silence GCC -Wparenthesis warning

llvm-svn: 242348
This commit is contained in:
David Majnemer 2015-07-15 22:48:26 +00:00
parent 0a74a60bc4
commit 3f6994b3c7
1 changed files with 2 additions and 3 deletions

View File

@ -318,9 +318,8 @@ llvm::writeArchive(StringRef ArcName,
MemberRef = Buffers.back()->getMemBufferRef();
} else {
object::Archive::child_iterator OldMember = Member.getOld();
assert(!Thin ||
OldMember->getParent()->isThin() &&
"Thin archives cannot refers to member of other archives");
assert((!Thin || OldMember->getParent()->isThin()) &&
"Thin archives cannot refers to member of other archives");
ErrorOr<MemoryBufferRef> MemberBufferOrErr =
OldMember->getMemoryBufferRef();
if (auto EC = MemberBufferOrErr.getError())