mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[ADT] add iterator_range::empty()
llvm-svn: 361944
This commit is contained in:
parent
f9d10cdb6f
commit
c52166a16d
@ -44,6 +44,7 @@ public:
|
||||
|
||||
IteratorT begin() const { return begin_iterator; }
|
||||
IteratorT end() const { return end_iterator; }
|
||||
bool empty() const { return begin_iterator == end_iterator; }
|
||||
};
|
||||
|
||||
/// Convenience function for iterating over sub-ranges.
|
||||
|
Loading…
Reference in New Issue
Block a user