diff options
Diffstat (limited to 'include/llvm/ADT/ImmutableSet.h')
| -rw-r--r-- | include/llvm/ADT/ImmutableSet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 21b325e..247b544 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/include/llvm/ADT/ImmutableSet.h @@ -1066,6 +1066,11 @@ public: inline bool operator==(const iterator& RHS) const { return RHS.itr == itr; } inline bool operator!=(const iterator& RHS) const { return RHS.itr != itr; } inline value_type *operator->() const { return &(operator*()); } + + typedef ImmutableSet<ValT,ValInfo>::value_type value_type; + typedef value_type *pointer; + typedef value_type &reference; + typedef std::bidirectional_iterator_tag iterator_category; }; iterator begin() const { return iterator(Root); } |
