mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
Implement != for DenseSet iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea33c8fed6
commit
13f7a40508
@ -66,6 +66,7 @@ public:
|
||||
|
||||
Iterator& operator++() { ++I; return *this; };
|
||||
bool operator==(const Iterator& X) const { return I == X.I; }
|
||||
bool operator!=(const Iterator& X) const { return I != X.I; }
|
||||
};
|
||||
|
||||
class ConstIterator {
|
||||
@ -78,6 +79,7 @@ public:
|
||||
|
||||
ConstIterator& operator++() { ++I; return *this; };
|
||||
bool operator==(const ConstIterator& X) const { return I == X.I; }
|
||||
bool operator!=(const ConstIterator& X) const { return I != X.I; }
|
||||
};
|
||||
|
||||
typedef Iterator iterator;
|
||||
|
Loading…
Reference in New Issue
Block a user