tools: remove unnecessary typename
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 06:19:24 +0000 (06:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 06:19:24 +0000 (06:19 +0000)
This is acceptted by clang and gcc, but MSVC seems to balk at it.  As it is
unneeded, simply drop it.  Fixes MSVC buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200456 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/ELFDumper.cpp

index bf3c9423f52c8791a87b396023149a3d6a08952c..59bc2c9c317e5dca0e3a2fe5955df053bd3a323c 100644 (file)
@@ -875,8 +875,8 @@ void ELFDumper<ELFType<support::little, 2, false> >::printAttributes() {
   }
 
   DictScope BA(W, "BuildAttributes");
-  for (typename ELFO::Elf_Shdr_Iter SI = Obj->begin_sections(),
-                                    SE = Obj->end_sections(); SI != SE; ++SI) {
+  for (ELFO::Elf_Shdr_Iter SI = Obj->begin_sections(), SE = Obj->end_sections();
+       SI != SE; ++SI) {
     if (SI->sh_type != ELF::SHT_ARM_ATTRIBUTES)
       continue;