[llvm-commits] [llvm] r77762 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h
Ted Kremenek
kremenek at apple.com
Fri Jul 31 18:28:27 PDT 2009
Author: kremenek
Date: Fri Jul 31 20:28:23 2009
New Revision: 77762
URL: http://llvm.org/viewvc/llvm-project?rev=77762&view=rev
Log:
Make default ctor for ImmutableSet::iterator public.
Modified:
llvm/trunk/include/llvm/ADT/ImmutableSet.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableSet.h?rev=77762&r1=77761&r2=77762&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableSet.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableSet.h Fri Jul 31 20:28:23 2009
@@ -1025,11 +1025,10 @@
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; }
More information about the llvm-commits
mailing list