summaryrefslogtreecommitdiff
path: root/tools/llvm-readobj
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 06:19:24 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 06:19:24 +0000
commita2a6c3911debf0499ac8658b56844de261e42050 (patch)
tree222b802d62a1c13e346693bf1d3a230255a7dfd8 /tools/llvm-readobj
parentdb752405cb2cf60ca63a086e7a52098628150655 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj')
-rw-r--r--tools/llvm-readobj/ELFDumper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp
index bf3c9423f52..59bc2c9c317 100644
--- a/tools/llvm-readobj/ELFDumper.cpp
+++ b/tools/llvm-readobj/ELFDumper.cpp
@@ -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;