diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-14 01:17:28 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-14 01:17:28 +0000 |
commit | bc79471be19e412eed4d270908db7ac945be10ca (patch) | |
tree | 0bb7850e774204a8883774021f63d84a635236a8 /lib/Target/SparcV9/RegAlloc | |
parent | 036e639623a77232dd8826b0c8e4de301fdbee09 (diff) | |
download | external_llvm-bc79471be19e412eed4d270908db7ac945be10ca.zip external_llvm-bc79471be19e412eed4d270908db7ac945be10ca.tar.gz external_llvm-bc79471be19e412eed4d270908db7ac945be10ca.tar.bz2 |
Add next() and prior() iterator utility functions. Unlike std::advance
they do not modify the passed iterator but return a copy.
next(myIt) returns copy of myIt incremented once
next(myIt, n) returns copy of myIt incremented n times
prior(myIt) returns copy of myIt decremented once
prior(myIt, n) returns copy of myIt decremented n times
While at it remove obsolete implementation of mapped_iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
0 files changed, 0 insertions, 0 deletions