[libcxx-commits] [PATCH] D118164: [libc++] [ranges] ref_view and empty_view are borrowed ranges. Normalize borrowed_range tests.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 25 18:24:54 PST 2022


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

Add `BorrowedRange`, `BorrowedView`, and `NonBorrowedView` to `"support/test_range.h"`. Ping @ldionne!


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

https://reviews.llvm.org/D118164

Files:
  libcxx/include/__ranges/empty_view.h
  libcxx/include/__ranges/ref_view.h
  libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/range.ref.view.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.common.view/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.empty/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.ref.view.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.reverse/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.take/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.factories/range.iota.view/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.factories/range.single.view/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/borrowing.compile.pass.cpp
  libcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp
  libcxx/test/support/test_range.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118164.403099.patch
Type: text/x-patch
Size: 14105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220126/1460c4ea/attachment.bin>


More information about the libcxx-commits mailing list