diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-10-12 15:15:45 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-10-12 15:15:45 +0000 |
| commit | 4702b86176fb65a0cef130d17b6f9dfc272eaba6 (patch) | |
| tree | f334dc3a7cb870e3a90d717312f2eef4d69fda2f | |
| parent | 7f68a7166925b4d5e1a4c5a8eea5f6689352b89d (diff) | |
| download | bcm5719-llvm-4702b86176fb65a0cef130d17b6f9dfc272eaba6.tar.gz bcm5719-llvm-4702b86176fb65a0cef130d17b6f9dfc272eaba6.zip | |
Fix indentation.
llvm-svn: 250047
| -rw-r--r-- | lld/ELF/InputFiles.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h index 2701fac6039..ae95f679041 100644 --- a/lld/ELF/InputFiles.h +++ b/lld/ELF/InputFiles.h @@ -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. |

