summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-09-15 12:43:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-09-15 12:43:09 +0000
commit7d4038dc5a0a6095324d3f1462fc4402a8a6eac3 (patch)
tree131a1c9b430338fee537383d1616bfefef6ba72c
parentc8cd6e95d263cc9bff575787f5c28c6f11a7cbeb (diff)
downloadbcm5719-llvm-7d4038dc5a0a6095324d3f1462fc4402a8a6eac3.tar.gz
bcm5719-llvm-7d4038dc5a0a6095324d3f1462fc4402a8a6eac3.zip
Use the same typedef style for all Elf_* types.
llvm-svn: 247680
-rw-r--r--lld/ELF/Chunks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/Chunks.h b/lld/ELF/Chunks.h
index e331bcb7097..9465521f1dd 100644
--- a/lld/ELF/Chunks.h
+++ b/lld/ELF/Chunks.h
@@ -21,9 +21,9 @@ template <class ELFT> class OutputSection;
// 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:
OpenPOWER on IntegriCloud