[libcxx-commits] [PATCH] D115838: [libc++] [ranges] Remove the static_assert from ranges::begin and ranges::end.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 21 16:46:27 PST 2021


Quuxplusone updated this revision to Diff 395772.
Quuxplusone marked an inline comment as done.
Quuxplusone edited the summary of this revision.
Quuxplusone added a comment.

Use the `TU1/TU2` approach suggested by Louis for `begin.incomplete.type.pass.cpp`.
Add a missing test case for `ranges::begin(unbounded-array-of-complete-type)`, which is //not// IFNDR; it just has to work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115838

Files:
  libcxx/include/__ranges/access.h
  libcxx/test/libcxx/ranges/range.access/begin.incomplete.type.pass.cpp
  libcxx/test/libcxx/ranges/range.access/end.incomplete.type.pass.cpp
  libcxx/test/libcxx/ranges/range.access/range.access.begin/incomplete.verify.cpp
  libcxx/test/libcxx/ranges/range.access/range.access.cbegin/incomplete.verify.cpp
  libcxx/test/libcxx/ranges/range.access/range.access.cend/incomplete.verify.cpp
  libcxx/test/libcxx/ranges/range.access/range.access.end/incomplete.verify.cpp
  libcxx/test/libcxx/ranges/range.access/range.prim/data.incomplete.verify.cpp
  libcxx/test/libcxx/ranges/range.access/range.prim/empty.incomplete.verify.cpp
  libcxx/test/std/ranges/range.access/range.access.begin/begin.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.end/end.pass.cpp
  libcxx/test/std/ranges/range.access/range.prim/empty.pass.cpp
  libcxx/test/std/ranges/range.access/range.prim/size.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115838.395772.patch
Type: text/x-patch
Size: 22548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211222/b6cabaa8/attachment-0001.bin>


More information about the libcxx-commits mailing list