projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54ecb3
)
Make default ctor for ImmutableSet::iterator public.
author
Ted Kremenek
<kremenek@apple.com>
Sat, 1 Aug 2009 01:28:23 +0000
(
01:28
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Sat, 1 Aug 2009 01:28:23 +0000
(
01:28
+0000)
llvm-svn: 77762
llvm/include/llvm/ADT/ImmutableSet.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/ImmutableSet.h
b/llvm/include/llvm/ADT/ImmutableSet.h
index
7eadeed
..
7c070d7
100644
(file)
--- a/
llvm/include/llvm/ADT/ImmutableSet.h
+++ b/
llvm/include/llvm/ADT/ImmutableSet.h
@@
-1025,11
+1025,10
@@
public:
class iterator {
typename TreeTy::iterator itr;
-
- iterator() {}
iterator(TreeTy* t) : itr(t) {}
friend class ImmutableSet<ValT,ValInfo>;
public:
+ iterator() {}
inline value_type_ref operator*() const { return itr->getValue(); }
inline iterator& operator++() { ++itr; return *this; }
inline iterator operator++(int) { iterator tmp(*this); ++itr; return tmp; }