[libcxx-commits] [PATCH] D108829: [libc++] Various cleanups in the ranges tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 27 09:41:10 PDT 2021


ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

- Rename test files to follow conventions better
- Split constructor tests that were in a single file
- Add missing tests for take_view and transform_view's default constructors
- Add missing tests for transform_view's view/function constructor
- Fix include guards
- Mark some tests as being specific to libc++


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108829

Files:
  libcxx/test/std/ranges/range.access/range.access.begin/incomplete.compile.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.begin/incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.cend/incomplete.compile.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.cend/incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.end/incomplete.compile.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.end/incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.prim/data.incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.prim/empty.incomplete.verify.cpp
  libcxx/test/std/ranges/range.adaptors/range.drop/dangling.cache.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.join.view/ctor.base.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.join.view/ctor.view.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/ctor.default.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/ctor.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/ctor.view_count.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.transform/ctor.default.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.transform/ctor.view_function.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.transform/types.h
  libcxx/test/std/ranges/range.range/borrowed_range.compile.pass.cpp
  libcxx/test/std/ranges/range.range/borrowed_range.subsumption.compile.pass.cpp
  libcxx/test/std/ranges/range.req/range.range/borrowed_range.compile.pass.cpp
  libcxx/test/std/ranges/range.req/range.range/borrowed_range.subsumption.compile.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/access/advance.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/access/get.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/access/primitives.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/access/structured_binding.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/advance.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor.begin_end.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor.begin_end_size.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor.pair_like_conv.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor.range.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor.range_size.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor/begin_end_size.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor/pair_like_conv.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor/range.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/ctor/range_size.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/get.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/primitives.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/structured_bindings.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/subrange_test_types.h
  libcxx/test/std/ranges/range.utility/range.subrange/types.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108829.369123.patch
Type: text/x-patch
Size: 29949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210827/df01a903/attachment-0001.bin>


More information about the libcxx-commits mailing list