[llvm] r200456 - tools: remove unnecessary typename
Saleem Abdulrasool
compnerd at compnerd.org
Wed Jan 29 22:19:24 PST 2014
Author: compnerd
Date: Thu Jan 30 00:19:24 2014
New Revision: 200456
URL: http://llvm.org/viewvc/llvm-project?rev=200456&view=rev
Log:
tools: remove unnecessary typename
This is acceptted by clang and gcc, but MSVC seems to balk at it. As it is
unneeded, simply drop it. Fixes MSVC buildbots.
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=200456&r1=200455&r2=200456&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Thu Jan 30 00:19:24 2014
@@ -875,8 +875,8 @@ void ELFDumper<ELFType<support::little,
}
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;
More information about the llvm-commits
mailing list