[llvm] r241768 - Fix typename issues.

Michael J. Spencer bigcheesegs at gmail.com
Wed Jul 8 17:46:24 PDT 2015


Author: mspencer
Date: Wed Jul  8 19:46:24 2015
New Revision: 241768

URL: http://llvm.org/viewvc/llvm-project?rev=241768&view=rev
Log:
Fix typename issues.

Modified:
    llvm/trunk/include/llvm/Object/ELF.h

Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=241768&r1=241767&r2=241768&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Wed Jul  8 19:46:24 2015
@@ -724,11 +724,11 @@ ELFFile<ELFT>::ELFFile(StringRef Object,
 template <class ELFT>
 void ELFFile<ELFT>::scanDynamicTable() {
   // Build load-address to file-offset map.
-  typedef typename IntervalMap<
+  typedef IntervalMap<
       uintX_t, uintptr_t,
       IntervalMapImpl::NodeSizer<uintX_t, uintptr_t>::LeafSize,
       IntervalMapHalfOpenInfo<uintX_t>> LoadMapT;
-  LoadMapT::Allocator Alloc;
+  typename LoadMapT::Allocator Alloc;
   LoadMapT LoadMap(Alloc);
 
   for (Elf_Phdr_Iter PhdrI = program_header_begin(),





More information about the llvm-commits mailing list