[libcxx-commits] [PATCH] D115766: [libc++] [test] Simplify (sized_)sentinel_wrapper; use it in more places.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 15 17:43:15 PST 2021


Quuxplusone updated this revision to Diff 394696.
Quuxplusone added a comment.

Scale back to just the refactor of `test_iterators.h`, removal of `sent.base()` and its effects, and a couple of places where we should be using `sized_sentinel` — i.e. all the sentinel-specific stuff.
Other stuff will move to a different PR.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115766/new/

https://reviews.llvm.org/D115766

Files:
  libcxx/test/std/ranges/range.adaptors/range.common.view/begin.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.common.view/end.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.common.view/types.h
  libcxx/test/std/ranges/range.adaptors/range.take/sentinel/base.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/sentinel/ctor.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/types.h
  libcxx/test/std/strings/string.view/string.view.cons/from_range.pass.cpp
  libcxx/test/support/test_iterators.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115766.394696.patch
Type: text/x-patch
Size: 11521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211216/c7810e67/attachment-0001.bin>


More information about the libcxx-commits mailing list