[lld] r286804 - [ELF] - format. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 02:05:53 PST 2016
Author: grimar
Date: Mon Nov 14 04:05:53 2016
New Revision: 286804
URL: http://llvm.org/viewvc/llvm-project?rev=286804&view=rev
Log:
[ELF] - format. NFC.
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=286804&r1=286803&r2=286804&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Mon Nov 14 04:05:53 2016
@@ -118,7 +118,7 @@ ELFFileBase<ELFT>::ELFFileBase(Kind K, M
template <class ELFT>
typename ELFT::SymRange ELFFileBase<ELFT>::getGlobalSymbols() {
- return makeArrayRef(Symbols.begin() + FirstNonLocal, Symbols.end());
+ return makeArrayRef(Symbols.begin() + FirstNonLocal, Symbols.end());
}
template <class ELFT>
@@ -271,9 +271,8 @@ void elf::ObjectFile<ELFT>::initializeSe
switch (Sec.sh_type) {
case SHT_GROUP:
Sections[I] = &InputSection<ELFT>::Discarded;
- if (ComdatGroups
- .insert(
- CachedHashStringRef(getShtGroupSignature(ObjSections, Sec)))
+ if (ComdatGroups.insert(CachedHashStringRef(
+ getShtGroupSignature(ObjSections, Sec)))
.second)
continue;
for (uint32_t SecIndex : getShtGroupEntries(Sec)) {
More information about the llvm-commits
mailing list