[lld] r247064 - [lld][elf2] Fix style.
Michael J. Spencer via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 13:36:21 PDT 2015
Author: mspencer
Date: Tue Sep 8 15:36:20 2015
New Revision: 247064
URL: http://llvm.org/viewvc/llvm-project?rev=247064&view=rev
Log:
[lld][elf2] Fix style.
Modified:
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=247064&r1=247063&r2=247064&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Tue Sep 8 15:36:20 2015
@@ -181,9 +181,9 @@ MemoryBufferRef ArchiveFile::getMember(c
Twine("Could not get the member for symbol ") + Sym->getName());
Archive::child_iterator It = *ItOrErr;
- if (!Seen.insert(It->getChildOffset()).second) {
+ if (!Seen.insert(It->getChildOffset()).second)
return MemoryBufferRef();
- }
+
ErrorOr<MemoryBufferRef> Ret = It->getMemoryBufferRef();
error(Ret, Twine("Could not get the buffer for the member defining symbol ") +
Sym->getName());
More information about the llvm-commits
mailing list