[lld] r250047 - Fix indentation.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 08:15:45 PDT 2015
Author: ruiu
Date: Mon Oct 12 10:15:45 2015
New Revision: 250047
URL: http://llvm.org/viewvc/llvm-project?rev=250047&view=rev
Log:
Fix indentation.
Modified:
lld/trunk/ELF/InputFiles.h
Modified: lld/trunk/ELF/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.h?rev=250047&r1=250046&r2=250047&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.h (original)
+++ lld/trunk/ELF/InputFiles.h Mon Oct 12 10:15:45 2015
@@ -71,23 +71,23 @@ public:
protected:
static ELFKind getStaticELFKind() {
- if (!ELFT::Is64Bits) {
+ if (!ELFT::Is64Bits) {
+ if (ELFT::TargetEndianness == llvm::support::little)
+ return ELF32LEKind;
+ return ELF32BEKind;
+ }
if (ELFT::TargetEndianness == llvm::support::little)
- return ELF32LEKind;
- return ELF32BEKind;
+ return ELF64LEKind;
+ return ELF64BEKind;
}
- if (ELFT::TargetEndianness == llvm::support::little)
- return ELF64LEKind;
- return ELF64BEKind;
-}
-const ELFKind EKind;
-llvm::object::ELFFile<ELFT> ELFObj;
-const Elf_Shdr *Symtab = nullptr;
-StringRef StringTable;
-void initStringTable();
-Elf_Sym_Range getNonLocalSymbols();
-Elf_Sym_Range getSymbolsHelper(bool);
+ const ELFKind EKind;
+ llvm::object::ELFFile<ELFT> ELFObj;
+ const Elf_Shdr *Symtab = nullptr;
+ StringRef StringTable;
+ void initStringTable();
+ Elf_Sym_Range getNonLocalSymbols();
+ Elf_Sym_Range getSymbolsHelper(bool);
};
// .o file.
More information about the llvm-commits
mailing list