summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-04-01 00:11:24 +0000
committerRui Ueyama <ruiu@google.com>2019-04-01 00:11:24 +0000
commit68b9f45feee290a0ffecf6002f2cad926ab7fd69 (patch)
tree7ae7b98326fa5441ab3f333a24faee55ee7ba001 /lld/ELF/MapFile.cpp
parent7fb58e98f547ee4cfa2dceac4367fc5942483e90 (diff)
downloadbcm5719-llvm-68b9f45feee290a0ffecf6002f2cad926ab7fd69.tar.gz
bcm5719-llvm-68b9f45feee290a0ffecf6002f2cad926ab7fd69.zip
Replace `typedef A B` with `using B = A`. NFC.
I did this using Perl. Differential Revision: https://reviews.llvm.org/D60003 llvm-svn: 357372
Diffstat (limited to 'lld/ELF/MapFile.cpp')
-rw-r--r--lld/ELF/MapFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp
index cc5b31de543..d9ff3e7382d 100644
--- a/lld/ELF/MapFile.cpp
+++ b/lld/ELF/MapFile.cpp
@@ -37,7 +37,7 @@ using namespace llvm::object;
using namespace lld;
using namespace lld::elf;
-typedef DenseMap<const SectionBase *, SmallVector<Defined *, 4>> SymbolMapTy;
+using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
static const std::string Indent8 = " "; // 8 spaces
static const std::string Indent16 = " "; // 16 spaces
OpenPOWER on IntegriCloud