[lld] r247680 - Use the same typedef style for all Elf_* types.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 05:43:10 PDT 2015


Author: rafael
Date: Tue Sep 15 07:43:09 2015
New Revision: 247680

URL: http://llvm.org/viewvc/llvm-project?rev=247680&view=rev
Log:
Use the same typedef style for all Elf_* types.

Modified:
    lld/trunk/ELF/Chunks.h

Modified: lld/trunk/ELF/Chunks.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Chunks.h?rev=247680&r1=247679&r2=247680&view=diff
==============================================================================
--- lld/trunk/ELF/Chunks.h (original)
+++ lld/trunk/ELF/Chunks.h Tue Sep 15 07:43:09 2015
@@ -21,9 +21,9 @@ template <class ELFT> class OutputSectio
 
 // A chunk corresponding a section of an input file.
 template <class ELFT> class SectionChunk {
-  typedef llvm::object::Elf_Shdr_Impl<ELFT> Elf_Shdr;
-  typedef llvm::object::Elf_Rel_Impl<ELFT, true> Elf_Rela;
-  typedef llvm::object::Elf_Rel_Impl<ELFT, false> Elf_Rel;
+  typedef typename llvm::object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
+  typedef typename llvm::object::ELFFile<ELFT>::Elf_Rela Elf_Rela;
+  typedef typename llvm::object::ELFFile<ELFT>::Elf_Rel Elf_Rel;
   typedef typename llvm::object::ELFFile<ELFT>::uintX_t uintX_t;
 
 public:




More information about the llvm-commits mailing list