From: David Majnemer Date: Wed, 15 Jul 2015 22:48:26 +0000 (+0000) Subject: Silence GCC -Wparenthesis warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ae7a81d267c83a5ecdef5f99285ad6a7cd0341d;p=oota-llvm.git Silence GCC -Wparenthesis warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242348 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/ArchiveWriter.cpp b/lib/Object/ArchiveWriter.cpp index 2aa481381df..bd372c37b8f 100644 --- a/lib/Object/ArchiveWriter.cpp +++ b/lib/Object/ArchiveWriter.cpp @@ -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 MemberBufferOrErr = OldMember->getMemoryBufferRef(); if (auto EC = MemberBufferOrErr.getError())