aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-06 13:32:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-06 13:32:36 +0000
commite6f1355c38fb66b0bee35cb4d6ec93f07196d961 (patch)
tree5e783a9234443c169f8cab95ea6ad32f57fde5d4 /include/llvm/ADT
parent4e3e5dec1a2a479891b4081c1c715a97fd85644d (diff)
downloadexternal_llvm-e6f1355c38fb66b0bee35cb4d6ec93f07196d961.zip
external_llvm-e6f1355c38fb66b0bee35cb4d6ec93f07196d961.tar.gz
external_llvm-e6f1355c38fb66b0bee35cb4d6ec93f07196d961.tar.bz2
Remove excess const, a const_iterator shouldn't be const itself.
Fixes 1242 warnings from gcc during clang build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/TinyPtrVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/TinyPtrVector.h b/include/llvm/ADT/TinyPtrVector.h
index 362f296..5be9370 100644
--- a/include/llvm/ADT/TinyPtrVector.h
+++ b/include/llvm/ADT/TinyPtrVector.h
@@ -63,7 +63,7 @@ public:
return Val.template get<VecTy*>()->size();
}
- typedef const EltTy *const const_iterator;
+ typedef const EltTy *const_iterator;
typedef EltTy *iterator;
iterator begin() {