summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-14 01:17:28 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-14 01:17:28 +0000
commitbc79471be19e412eed4d270908db7ac945be10ca (patch)
tree0bb7850e774204a8883774021f63d84a635236a8 /lib/CodeGen/TwoAddressInstructionPass.cpp
parent036e639623a77232dd8826b0c8e4de301fdbee09 (diff)
downloadllvm-bc79471be19e412eed4d270908db7ac945be10ca.tar.gz
llvm-bc79471be19e412eed4d270908db7ac945be10ca.tar.bz2
llvm-bc79471be19e412eed4d270908db7ac945be10ca.tar.xz
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/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions