diff options
author | Xing GUO <higuoxing@gmail.com> | 2019-03-21 13:42:06 +0000 |
---|---|---|
committer | Xing GUO <higuoxing@gmail.com> | 2019-03-21 13:42:06 +0000 |
commit | 3e9e55491e787b9c1a100a58c27b5e228a278942 (patch) | |
tree | 00408c1277efc7e51c1ad90f11ca943fcdee0262 | |
parent | 505427cb2fe4b7d0290eabbf6785c2a3643ef637 (diff) | |
download | bcm5719-llvm-3e9e55491e787b9c1a100a58c27b5e228a278942.tar.gz bcm5719-llvm-3e9e55491e787b9c1a100a58c27b5e228a278942.zip |
[llvm-readobj] Format codes. NFC.
llvm-svn: 356664
-rw-r--r-- | llvm/tools/llvm-readobj/ELFDumper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp b/llvm/tools/llvm-readobj/ELFDumper.cpp index 9ebc7a785ed..8c1c6fef89e 100644 --- a/llvm/tools/llvm-readobj/ELFDumper.cpp +++ b/llvm/tools/llvm-readobj/ELFDumper.cpp @@ -139,7 +139,7 @@ struct DynRegionInfo { } }; -template<typename ELFT> +template <typename ELFT> class ELFDumper : public ObjDumper { public: ELFDumper(const object::ELFObjectFile<ELFT> *ObjF, ScopedPrinter &Writer); @@ -1594,17 +1594,17 @@ typename ELFDumper<ELFT>::Elf_Relr_Range ELFDumper<ELFT>::dyn_relrs() const { return DynRelrRegion.getAsArrayRef<Elf_Relr>(); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printFileHeaders() { ELFDumperStyle->printFileHeaders(ObjF->getELFFile()); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printSectionHeaders() { ELFDumperStyle->printSectionHeaders(ObjF->getELFFile()); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printRelocations() { ELFDumperStyle->printRelocations(ObjF->getELFFile()); } @@ -1627,7 +1627,7 @@ void ELFDumper<ELFT>::printSymbols(bool PrintSymbols, PrintDynamicSymbols); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printHashSymbols() { ELFDumperStyle->printHashSymbols(ObjF->getELFFile()); } @@ -1891,7 +1891,7 @@ void ELFDumper<ELFT>::printValue(uint64_t Type, uint64_t Value) { } } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printUnwindInfo() { DwarfCFIEH::PrinterContext<ELFT> Ctx(W, ObjF); Ctx.printUnwindInformation(); @@ -1912,7 +1912,7 @@ template <> void ELFDumper<ELF32LE>::printUnwindInfo() { } // end anonymous namespace -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printDynamicTable() { // A valid .dynamic section contains an array of entries terminated with // a DT_NULL entry. However, sometimes the section content may continue @@ -1946,7 +1946,7 @@ void ELFDumper<ELFT>::printDynamicTable() { W.startLine() << "]\n"; } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printNeededLibraries() { ListScope D(W, "NeededLibraries"); |