diff options
author | Rui Ueyama <ruiu@google.com> | 2016-04-22 20:41:07 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-04-22 20:41:07 +0000 |
commit | 0b3868ec6b908dd472bc07d9d003c9e6075bbfda (patch) | |
tree | 2f7cbd992e51c6e3a118e26296926c19723c1119 /lld/ELF/LinkerScript.cpp | |
parent | 265ebd7d70496049d49021b4eb5eabffcf291b7d (diff) | |
download | bcm5719-llvm-0b3868ec6b908dd472bc07d9d003c9e6075bbfda.tar.gz bcm5719-llvm-0b3868ec6b908dd472bc07d9d003c9e6075bbfda.zip |
Move uintX_t typedef to the class definition. NFC.
Now it is doable because LinkerScript is a template class.
llvm-svn: 267212
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 1cfe358c857..aae750768d1 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -217,8 +217,6 @@ findSection(ArrayRef<OutputSectionBase<ELFT> *> V, StringRef Name) { template <class ELFT> void LinkerScript<ELFT>::assignAddresses( ArrayRef<OutputSectionBase<ELFT> *> Sections) { - typedef typename ELFT::uint uintX_t; - // Orphan sections are sections present in the input files which // are not explicitly placed into the output file by the linker script. // We place orphan sections at end of file. |