diff options
author | Bryant Wong <llvm-commits@xorshift.org> | 2017-02-23 23:00:46 +0000 |
---|---|---|
committer | Bryant Wong <llvm-commits@xorshift.org> | 2017-02-23 23:00:46 +0000 |
commit | 332e6e5ae55d4d6d377aa5bdfc49162e0d0c6dce (patch) | |
tree | 47b2573fc80decce57dd7fd3c68dc854b8ae6890 /llvm/lib/Transforms | |
parent | aa722ae84c258b069db2009670e3dfb13f356de6 (diff) | |
download | bcm5719-llvm-332e6e5ae55d4d6d377aa5bdfc49162e0d0c6dce.tar.gz bcm5719-llvm-332e6e5ae55d4d6d377aa5bdfc49162e0d0c6dce.zip |
[ADT] Fix zip iterator interface.
This commit provides `zip_{first,shortest}` with the standard member types and
methods expected of iterators (e.g., `difference_type`), in order for zip to be
used with other adaptors, such as `make_filter_range`.
Support for reverse iteration has also been added.
Differential Revision: https://reviews.llvm.org/D30246
llvm-svn: 296036
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions