From 7975b99fe69953e9c8a2e69c12fb19e825f5cadf Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Wed, 26 Apr 2017 22:31:39 +0000 Subject: [MC] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). llvm-svn: 301485 --- llvm/lib/MC/ELFObjectWriter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/MC/ELFObjectWriter.cpp') diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index ee9c25cda94..e86db933af3 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -63,7 +63,7 @@ using namespace llvm; namespace { -typedef DenseMap SectionIndexMapTy; +using SectionIndexMapTy = DenseMap; class ELFObjectWriter; @@ -194,8 +194,8 @@ public: ELFSymbolData &MSD, const MCAsmLayout &Layout); // Start and end offset of each section - typedef std::map> - SectionOffsetsTy; + using SectionOffsetsTy = + std::map>; bool shouldRelocateWithSymbol(const MCAssembler &Asm, const MCSymbolRefExpr *RefA, @@ -208,7 +208,7 @@ public: uint64_t &FixedValue) override; // Map from a signature symbol to the group section index - typedef DenseMap RevGroupMapTy; + using RevGroupMapTy = DenseMap; /// Compute the symbol table data /// -- cgit v1.2.3