From 380737bf6dbbe64044cc67bde06f3d31e13c0155 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356664 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-readobj/ELFDumper.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp index 9ebc7a785ed..8c1c6fef89e 100644 --- a/tools/llvm-readobj/ELFDumper.cpp +++ b/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.50.1