mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 22:45:05 +00:00
Silence GCC -Wparenthesis warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ba7661d294
commit
1ae7a81d26
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user