llvm.org GIT mirror llvm / cafe614
Add IntervalMap::const_iterator::atBegin(). It returns true when operator--() can be called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138107 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 8 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
13341334 /// valid - Return true if the current position is valid, false for end().
13351335 bool valid() const { return path.valid(); }
13361336
1337 /// atBegin - Return true if the current position is the first map entry.
1338 bool atBegin() const { return path.atBegin(); }
1339
13371340 /// start - Return the beginning of the current interval.
13381341 const KeyT &start() const { return unsafeStart(); }
13391342