[PATCH] D45853: [ADT] Teach reverse() about filter_iterator ranges
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 20 15:07:54 PDT 2018
vsk updated this revision to Diff 143398.
vsk marked 4 inline comments as done.
vsk retitled this revision from "(WIP) Alternate approach to reversing filtered iterators" to "[ADT] Teach reverse() about filter_iterator ranges".
vsk edited the summary of this revision.
vsk added a comment.
Herald added a subscriber: JDevlieghere.
- Adopt design suggestions from Tim.
- Remove the Optional<PayloadType> wrapper, because the end iterator requires a predicate functor in the common case.
https://reviews.llvm.org/D45853
Files:
include/llvm/ADT/STLExtras.h
unittests/ADT/IteratorTest.cpp
unittests/IR/BasicBlockTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45853.143398.patch
Type: text/x-patch
Size: 9451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180420/00d73699/attachment.bin>
More information about the llvm-commits
mailing list