summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-28 05:25:37 +0000
committerRui Ueyama <ruiu@google.com>2017-02-28 05:25:37 +0000
commitab0a85ef4dea937b1921543969dbb9fc213d927f (patch)
treef58fd81c005f423b6e72e4cbec163367984d889e
parentc3726f8263e048ec8986f294a24949f15b4b2d6c (diff)
downloadbcm5719-llvm-ab0a85ef4dea937b1921543969dbb9fc213d927f.tar.gz
bcm5719-llvm-ab0a85ef4dea937b1921543969dbb9fc213d927f.zip
Remove unused typedefs.
llvm-svn: 296437
-rw-r--r--lld/ELF/SyntheticSections.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index 8e847a959ef..0aef47881f3 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -408,10 +408,9 @@ struct SymbolTableEntry {
template <class ELFT> class SymbolTableSection final : public SyntheticSection {
public:
- typedef typename ELFT::Shdr Elf_Shdr;
typedef typename ELFT::Sym Elf_Sym;
- typedef typename ELFT::SymRange Elf_Sym_Range;
typedef typename ELFT::uint uintX_t;
+
SymbolTableSection(StringTableSection<ELFT> &StrTabSec);
void finalizeContents() override;
@@ -420,7 +419,6 @@ public:
void addSymbol(SymbolBody *Body);
unsigned getNumSymbols() const { return Symbols.size() + 1; }
size_t getSymbolIndex(SymbolBody *Body);
-
ArrayRef<SymbolTableEntry> getSymbols() const { return Symbols; }
private:
OpenPOWER on IntegriCloud