From d94b0e65416929efb0915853a415862c72ccb6d5 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Sun, 25 Jan 2015 16:17:10 +0000 Subject: [PATCH] [Mips] Remove duplicated typedef's No functional changes. llvm-svn: 227048 --- lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h | 2 -- lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h b/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h index 01d95d8ac936..9a71836d8374 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h @@ -17,8 +17,6 @@ namespace lld { namespace elf { -typedef llvm::object::ELFType Mips32ElELFType; - struct MipsELFFileCreateTraits { typedef llvm::ErrorOr> result_type; diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp index 331a1d7e90e8..ed80a48e4444 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp @@ -16,8 +16,6 @@ using namespace lld; using namespace elf; -typedef llvm::object::ELFType Mips32ElELFType; - MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx) : _ctx(ctx), _runtimeFile(new MipsRuntimeFile(ctx)), _targetLayout(new MipsTargetLayout(ctx)),