[llvm] r241870 - Fix shadowing.
Michael J. Spencer
bigcheesegs at gmail.com
Thu Jul 9 15:42:21 PDT 2015
Author: mspencer
Date: Thu Jul 9 17:42:21 2015
New Revision: 241870
URL: http://llvm.org/viewvc/llvm-project?rev=241870&view=rev
Log:
Fix shadowing.
Modified:
llvm/trunk/include/llvm/Object/ELF.h
llvm/trunk/include/llvm/Object/ELFTypes.h
Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=241870&r1=241869&r2=241870&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Thu Jul 9 17:42:21 2015
@@ -140,7 +140,7 @@ public:
typedef Elf_Verneed_Impl<ELFT> Elf_Verneed;
typedef Elf_Vernaux_Impl<ELFT> Elf_Vernaux;
typedef Elf_Versym_Impl<ELFT> Elf_Versym;
- typedef Elf_Hash<ELFT> Elf_Hash;
+ typedef Elf_Hash_Impl<ELFT> Elf_Hash;
typedef ELFEntityIterator<const Elf_Dyn> Elf_Dyn_Iter;
typedef iterator_range<Elf_Dyn_Iter> Elf_Dyn_Range;
typedef ELFEntityIterator<const Elf_Rela> Elf_Rela_Iter;
Modified: llvm/trunk/include/llvm/Object/ELFTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELFTypes.h?rev=241870&r1=241869&r2=241870&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELFTypes.h (original)
+++ llvm/trunk/include/llvm/Object/ELFTypes.h Thu Jul 9 17:42:21 2015
@@ -466,7 +466,7 @@ struct Elf_Phdr_Impl<ELFType<TargetEndia
// ELFT needed for endianess.
template <class ELFT>
-struct Elf_Hash {
+struct Elf_Hash_Impl {
LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
Elf_Word nbucket;
Elf_Word nchain;
More information about the llvm-commits
mailing list