summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-15 15:27:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-15 15:27:19 +0000
commit15b9717873cf7c791baa9bd40c244d54cf672df1 (patch)
tree387135b78e0d931ad8d8dffe731846c7b3db0c4e /llvm/lib
parentbc46b939e647b9ded4ccad7de7694b388369291a (diff)
downloadbcm5719-llvm-15b9717873cf7c791baa9bd40c244d54cf672df1.tar.gz
bcm5719-llvm-15b9717873cf7c791baa9bd40c244d54cf672df1.zip
Implement PreprocessingRecord's and LazyVector's iterators on top of iterator_adaptor_base
This basically creates a wrapper around an 'int' that poses as an iterator. While that looks a bit counter-intuitive it works just fine because iterator operations and basic integer arithmetic works in exactly the same way. Remove the manual integer wrapping code and reduce the reliance on iterator internals in the implementation. No functionality change intended. llvm-svn: 232322
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud