[PATCH] D22951: [ADT] Add filter_iterator for filtering elements

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 13:54:46 PDT 2016


timshen updated this revision to Diff 66377.
timshen marked 7 inline comments as done.
timshen added a comment.

Changed it back to forward iterator. Do not keep predicate and the second iterator in end() construction.


https://reviews.llvm.org/D22951

Files:
  include/llvm/ADT/STLExtras.h
  include/llvm/ADT/iterator.h
  unittests/Support/IteratorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22951.66377.patch
Type: text/x-patch
Size: 7787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160801/fdea94e4/attachment.bin>


More information about the llvm-commits mailing list