mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Add IntervalMap::const_iterator::atBegin().
It returns true when operator--() can be called. llvm-svn: 138107
This commit is contained in:
parent
31d80032c6
commit
391019be7a
@ -1335,6 +1335,9 @@ public:
|
||||
/// valid - Return true if the current position is valid, false for end().
|
||||
bool valid() const { return path.valid(); }
|
||||
|
||||
/// atBegin - Return true if the current position is the first map entry.
|
||||
bool atBegin() const { return path.atBegin(); }
|
||||
|
||||
/// start - Return the beginning of the current interval.
|
||||
const KeyT &start() const { return unsafeStart(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user