diff options
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
| -rw-r--r-- | lib/MC/ELFObjectWriter.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index ee9c25cda94f..e86db933af3c 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -63,7 +63,7 @@ using namespace llvm;  namespace { -typedef DenseMap<const MCSectionELF *, uint32_t> SectionIndexMapTy; +using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>;  class ELFObjectWriter; @@ -194,8 +194,8 @@ public:                     ELFSymbolData &MSD, const MCAsmLayout &Layout);    // Start and end offset of each section -  typedef std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>> -      SectionOffsetsTy; +  using SectionOffsetsTy = +      std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;    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<const MCSymbol *, unsigned> RevGroupMapTy; +  using RevGroupMapTy = DenseMap<const MCSymbol *, unsigned>;    /// Compute the symbol table data    ///  | 
