From 3e9e55491e787b9c1a100a58c27b5e228a278942 Mon Sep 17 00:00:00 2001 From: Xing GUO Date: Thu, 21 Mar 2019 13:42:06 +0000 Subject: [PATCH] [llvm-readobj] Format codes. NFC. llvm-svn: 356664 --- llvm/tools/llvm-readobj/ELFDumper.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp b/llvm/tools/llvm-readobj/ELFDumper.cpp index 9ebc7a7..8c1c6fe 100644 --- a/llvm/tools/llvm-readobj/ELFDumper.cpp +++ b/llvm/tools/llvm-readobj/ELFDumper.cpp @@ -139,7 +139,7 @@ struct DynRegionInfo { } }; -template +template class ELFDumper : public ObjDumper { public: ELFDumper(const object::ELFObjectFile *ObjF, ScopedPrinter &Writer); @@ -1594,17 +1594,17 @@ typename ELFDumper::Elf_Relr_Range ELFDumper::dyn_relrs() const { return DynRelrRegion.getAsArrayRef(); } -template +template void ELFDumper::printFileHeaders() { ELFDumperStyle->printFileHeaders(ObjF->getELFFile()); } -template +template void ELFDumper::printSectionHeaders() { ELFDumperStyle->printSectionHeaders(ObjF->getELFFile()); } -template +template void ELFDumper::printRelocations() { ELFDumperStyle->printRelocations(ObjF->getELFFile()); } @@ -1627,7 +1627,7 @@ void ELFDumper::printSymbols(bool PrintSymbols, PrintDynamicSymbols); } -template +template void ELFDumper::printHashSymbols() { ELFDumperStyle->printHashSymbols(ObjF->getELFFile()); } @@ -1891,7 +1891,7 @@ void ELFDumper::printValue(uint64_t Type, uint64_t Value) { } } -template +template void ELFDumper::printUnwindInfo() { DwarfCFIEH::PrinterContext Ctx(W, ObjF); Ctx.printUnwindInformation(); @@ -1912,7 +1912,7 @@ template <> void ELFDumper::printUnwindInfo() { } // end anonymous namespace -template +template void ELFDumper::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::printDynamicTable() { W.startLine() << "]\n"; } -template +template void ELFDumper::printNeededLibraries() { ListScope D(W, "NeededLibraries"); -- 2.7.4