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 | 7c6e4d5ae695a9a9463553077da0cd16b59f535a (patch) | |
tree | c06bd2aa6c2dc386e03dc68ea03301d88e2c65b2 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | a9c61b33c699407281e8e9b48f07e2275df13f56 (diff) | |
download | bcm5719-llvm-7c6e4d5ae695a9a9463553077da0cd16b59f535a.tar.gz bcm5719-llvm-7c6e4d5ae695a9a9463553077da0cd16b59f535a.zip |
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.
llvm-svn: 11429
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions