projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3e5de
)
Remove excess const, a const_iterator shouldn't be const itself.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Tue, 6 Mar 2012 13:32:36 +0000
(13:32 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Tue, 6 Mar 2012 13:32:36 +0000
(13:32 +0000)
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
include/llvm/ADT/TinyPtrVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/TinyPtrVector.h
b/include/llvm/ADT/TinyPtrVector.h
index 362f2961ec306ce1ab2fed4145664748608a7316..5be93702a30097d90a8caee6367a90fb1e9e6a01 100644
(file)
--- 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() {