Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

Feed Advanced Search

Jul 26 2021

zoecarver updated the diff for D106507: [libcxx][ranges] Add ranges::take_view..

Actually push the change with the addressed feedback :P

Jul 26 2021, 1:44 PM · Restricted Project
zoecarver updated the diff for D106507: [libcxx][ranges] Add ranges::take_view..

Apply remaining review comments.

Jul 26 2021, 1:13 PM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Apply review comments and fix CI.

Jul 26 2021, 12:55 PM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Apply final few review comments.

Jul 26 2021, 9:36 AM · Restricted Project
zoecarver added inline comments to D106205: [libcxx][ranges] Add `counted_iterator`..
Jul 26 2021, 9:35 AM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Apply all review comments except for moving files around.

Jul 26 2021, 9:12 AM · Restricted Project
zoecarver added inline comments to D106205: [libcxx][ranges] Add `counted_iterator`..
Jul 26 2021, 9:11 AM · Restricted Project

Jul 23 2021

zoecarver committed rGe5d8b93e5a25: [libcxx][ranges] Add `ranges::common_view`. (authored by zoecarver).
[libcxx][ranges] Add `ranges::common_view`.
Jul 23 2021, 9:09 AM
zoecarver committed rG1e4ba7eba607: [libcxx][nfc] Global `constexpr friend` -> `friend constexpr`. (authored by zoecarver).
[libcxx][nfc] Global `constexpr friend` -> `friend constexpr`.
Jul 23 2021, 9:09 AM
zoecarver closed D105753: [libcxx][ranges] Add `ranges::common_view`..
Jul 23 2021, 9:09 AM · Restricted Project

Jul 22 2021

zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..

Apply review comments.

Jul 22 2021, 2:57 PM · Restricted Project
zoecarver updated the diff for D106507: [libcxx][ranges] Add ranges::take_view..

Apply review comments.

Jul 22 2021, 2:11 PM · Restricted Project
zoecarver added inline comments to D106507: [libcxx][ranges] Add ranges::take_view..
Jul 22 2021, 2:06 PM · Restricted Project
zoecarver updated subscribers of D106507: [libcxx][ranges] Add ranges::take_view..
Jul 22 2021, 1:56 PM · Restricted Project
zoecarver committed rG6f5064cd0c0e: [libc++][docs] Take lock for range.single.view. (authored by zoecarver).
[libc++][docs] Take lock for range.single.view.
Jul 22 2021, 11:16 AM
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Apply review comments. Thanks Mark!

Jul 22 2021, 11:01 AM · Restricted Project
zoecarver added inline comments to D106205: [libcxx][ranges] Add `counted_iterator`..
Jul 22 2021, 10:57 AM · Restricted Project

Jul 21 2021

zoecarver added inline comments to D106507: [libcxx][ranges] Add ranges::take_view..
Jul 21 2021, 4:45 PM · Restricted Project
zoecarver updated the diff for D106507: [libcxx][ranges] Add ranges::take_view..

Go through https://libcxx.llvm.org/Contributing.html and fix what needs to be fixed.

Jul 21 2021, 4:42 PM · Restricted Project
zoecarver requested review of D106507: [libcxx][ranges] Add ranges::take_view..
Jul 21 2021, 4:33 PM · Restricted Project
zoecarver accepted D105078: [libcxx][modularisation] properly modularises advance, next, and prev.

Thanks for the cleanup.

Jul 21 2021, 3:01 PM · Restricted Project

Jul 20 2021

zoecarver added a comment to D106394: [clang][pp] adds '#pragma include_instead'.

Can't wait to start using this! (Note: this is not a full review, just some thoughts.)

Jul 20 2021, 2:08 PM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Rebase.

Jul 20 2021, 10:17 AM · Restricted Project
zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..

Rebase.

Jul 20 2021, 10:14 AM · Restricted Project
zoecarver committed rG1a29403d2f8a: [libcxx][ranges] Add common_iterator. (authored by zoecarver).
[libcxx][ranges] Add common_iterator.
Jul 20 2021, 8:13 AM
zoecarver closed D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 20 2021, 8:13 AM · Restricted Project

Jul 19 2021

zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Fix modules issues (hopefully).

Jul 19 2021, 4:00 PM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Rebase.

Jul 19 2021, 10:29 AM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Rebase (again).

Jul 19 2021, 10:28 AM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Rebase.

Jul 19 2021, 9:58 AM · Restricted Project

Jul 16 2021

zoecarver accepted D106207: [libcxx][ranges] makes `ranges::subrange` a borrowed range.

Looks good to me. This seems like a pretty much obviously correct patch, so I wouldn't be opposed to just landing it.

Jul 16 2021, 6:42 PM · Restricted Project
zoecarver updated the diff for D106205: [libcxx][ranges] Add `counted_iterator`..

Remove completed todo.

Jul 16 2021, 6:21 PM · Restricted Project
zoecarver requested review of D106205: [libcxx][ranges] Add `counted_iterator`..
Jul 16 2021, 6:20 PM · Restricted Project
zoecarver added inline comments to D106124: [libcxx][modules] protects users from relying on detail headers.
Jul 16 2021, 10:14 AM · Restricted Project, Restricted Project, Restricted Project
zoecarver added inline comments to D105795: [libcxx][algorithms] adds ranges::lower_bound and ranges::upper_bound.
Jul 16 2021, 10:06 AM · Restricted Project

Jul 15 2021

zoecarver added a comment to D103335: [libcxx][ranges] Adds `common_iterator`..

At runtime, not at compile time.
[...]
I'm open to something like what Louis suggested.

Jul 15 2021, 3:52 PM · Restricted Project
zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..
  • Global constexpr friend -> friend constexpr.
Jul 15 2021, 11:14 AM · Restricted Project
zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..

Apply Louis' comments.

Jul 15 2021, 11:11 AM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 15 2021, 9:58 AM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Apply Chris' review comments.

Jul 15 2021, 9:49 AM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 15 2021, 8:49 AM · Restricted Project

Jul 14 2021

zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 14 2021, 5:29 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Apply remaining few review comments :)

Jul 14 2021, 5:28 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 14 2021, 5:20 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 14 2021, 2:27 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 14 2021, 11:19 AM · Restricted Project

Jul 13 2021

zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 13 2021, 8:17 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Apply Louis' comments.

Jul 13 2021, 8:16 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 13 2021, 8:16 PM · Restricted Project

Jul 12 2021

zoecarver committed rGe5e291e13502: [libcxx][docs] Update the ranges status document to reflect the current state… (authored by zoecarver).
[libcxx][docs] Update the ranges status document to reflect the current state…
Jul 12 2021, 1:11 PM
zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..

Apply Arthur's comments.

Jul 12 2021, 12:40 PM · Restricted Project
zoecarver added inline comments to D105753: [libcxx][ranges] Add `ranges::common_view`..
Jul 12 2021, 12:39 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Rebase.

Jul 12 2021, 12:07 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Apply Tim's comments and add a few more tests.

Jul 12 2021, 12:06 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 12 2021, 12:03 PM · Restricted Project
zoecarver added a comment to D105456: [libcxx][algorithms] adds `std::ranges::find`.

Just a note on the two comments above. I understand how they might come across as pedantic, or too picky, but I think it's important that we get this right. If we develop a good model here, it will mean we have a good model for the dozens of algorithms to come. That's why I think this patch should have a high bar (which is not to say that I wouldn't have made those two comments on any other patch).

Jul 12 2021, 9:50 AM · Restricted Project
zoecarver added a comment to D105456: [libcxx][algorithms] adds `std::ranges::find`.

Just a note on the two comments above. I understand how they might come across as pedantic, or too picky, but I think it's important that we get this right. If we develop a good model here, it will mean we have a good model for the dozens of algorithms to come. That's why I think this patch should have a high bar (which is not to say that I wouldn't have made those two comments on any other patch).

Jul 12 2021, 9:30 AM · Restricted Project
zoecarver added inline comments to D105456: [libcxx][algorithms] adds `std::ranges::find`.
Jul 12 2021, 9:27 AM · Restricted Project
zoecarver added inline comments to D105753: [libcxx][ranges] Add `ranges::common_view`..
Jul 12 2021, 9:19 AM · Restricted Project

Jul 9 2021

zoecarver updated the diff for D105753: [libcxx][ranges] Add `ranges::common_view`..
  • Update module map.
  • Update synopsis.
  • Add correct enable_borrowed_range.
Jul 9 2021, 4:54 PM · Restricted Project
zoecarver requested review of D105753: [libcxx][ranges] Add `ranges::common_view`..
Jul 9 2021, 4:48 PM · Restricted Project
zoecarver committed rG0e09a41b415b: [libcxx][ranges] Add `ranges::transform_view`. (authored by zoecarver).
[libcxx][ranges] Add `ranges::transform_view`.
Jul 9 2021, 10:14 AM
zoecarver committed rG0849427faeab: [libcxx][nfc] Remove <variant>'s dependence on <array>. (authored by zoecarver).
[libcxx][nfc] Remove <variant>'s dependence on <array>.
Jul 9 2021, 10:14 AM
zoecarver closed D103056: [libcxx][ranges] Add `ranges::transform_view`..
Jul 9 2021, 10:14 AM · Restricted Project
zoecarver closed D105597: [libcxx][nfc] Remove <variant>'s dependence on <array>..
Jul 9 2021, 10:14 AM · Restricted Project

Jul 8 2021

zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 8 2021, 5:07 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Rebase.

Jul 8 2021, 5:05 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..

Apply review comments.

Jul 8 2021, 5:04 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 8 2021, 5:04 PM · Restricted Project
zoecarver added a comment to D105456: [libcxx][algorithms] adds `std::ranges::find`.

Generally this looks good to me. I have a few small comments, nothing too major. Looking forward to shipping this!

Jul 8 2021, 4:33 PM · Restricted Project
zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 8 2021, 3:40 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..

Rebse.

Jul 8 2021, 11:51 AM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Fix ARM and Windows: replace long with auto
Jul 8 2021, 11:50 AM · Restricted Project
zoecarver updated the diff for D105597: [libcxx][nfc] Remove <variant>'s dependence on <array>..

Update static_assert message.

Jul 8 2021, 11:24 AM · Restricted Project
zoecarver abandoned D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

I may pick this patch up again later, but for now, I am not going to spend hours debugging why clang is crashing. This patch is not blocking anything.

Jul 8 2021, 10:57 AM · Restricted Project
zoecarver updated the diff for D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

Fix modules build (fully expecting it to crash).

Jul 8 2021, 10:00 AM · Restricted Project
zoecarver updated the diff for D105597: [libcxx][nfc] Remove <variant>'s dependence on <array>..
  • Update the release notes.
Jul 8 2021, 9:14 AM · Restricted Project
zoecarver updated the diff for D105597: [libcxx][nfc] Remove <variant>'s dependence on <array>..

Apply review feedback.

Jul 8 2021, 9:12 AM · Restricted Project

Jul 7 2021

zoecarver requested review of D105597: [libcxx][nfc] Remove <variant>'s dependence on <array>..
Jul 7 2021, 3:27 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..

Rebase.

Jul 7 2021, 3:07 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Re order when members are initialized in ctor.
Jul 7 2021, 3:06 PM · Restricted Project
zoecarver updated the diff for D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..
  • Alphabatize.
  • Update module map.
  • Make this a NFC for real.
Jul 7 2021, 2:58 PM · Restricted Project
zoecarver added a comment to D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

EDIT: if we need to remove something, we'll need to precisely document it in our release notes (including why we needed to push the deletion ahead of schedule), and give users the chance to respond to this change.

Jul 7 2021, 1:33 PM · Restricted Project
zoecarver updated the diff for D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

Fix rebase fallout (in <iterator>).

Jul 7 2021, 1:06 PM · Restricted Project
zoecarver accepted D105563: [libc++][docs] Update documentation to reflect libc++'s compiler support policy.
Jul 7 2021, 1:01 PM · Restricted Project
zoecarver added a comment to D105563: [libc++][docs] Update documentation to reflect libc++'s compiler support policy.

Thanks, Louis! Does this mean we officially no longer support Clang 10 (for example) on main? Or does this only come into effect after llvm 13 is released?

Jul 7 2021, 1:01 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..

Rebase on main.

Jul 7 2021, 12:56 PM · Restricted Project
zoecarver added a comment to D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

A simpler way to say the words in the title: this removes <algorithm>'s dependency on both <memory> and <iterator>. (<memory> still depends on <iterator>.)

Jul 7 2021, 12:54 PM · Restricted Project
zoecarver updated the diff for D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..

Rebase on main.

Jul 7 2021, 12:52 PM · Restricted Project
zoecarver requested review of D105585: [libcxx][nfc] Remove <algorithm>'s dependence on <iterator> and related changes..
Jul 7 2021, 12:48 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Fix GCC: make current iterator public.
Jul 7 2021, 12:04 PM · Restricted Project

Jul 6 2021

zoecarver added inline comments to D103335: [libcxx][ranges] Adds `common_iterator`..
Jul 6 2021, 5:27 PM · Restricted Project
zoecarver updated the diff for D103335: [libcxx][ranges] Adds `common_iterator`..
  • I think I adressed all the review comments that apply from the other two views. (If not, sorry, let me know and I'll fix them here too.)
  • I'm going to update common_iterator to use variant. Because it's not yet constexpr, I'm just going to comment out the static_assert in all the tests. This makes us support closer to the standard anyway. Note: I have not done this yet because it requries fixing a dependency cycle between iterator -> array -> variant -> iterator.
Jul 6 2021, 5:25 PM · Restricted Project

Jul 2 2021

zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Fix GCC for senintel type.
  • Change comment.
  • Re-format spacing.
Jul 2 2021, 2:28 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Remove indirectly_swappable.
Jul 2 2021, 1:27 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Fix GCC bots
Jul 2 2021, 1:24 PM · Restricted Project

Jul 1 2021

zoecarver added inline comments to D103056: [libcxx][ranges] Add `ranges::transform_view`..
Jul 1 2021, 5:03 PM · Restricted Project
zoecarver updated the diff for D103056: [libcxx][ranges] Add `ranges::transform_view`..
  • Update based on Chris' comments.
  • Add tests for spaceship.
  • Add iterator ctor tests and move maybe_const.
Jul 1 2021, 5:01 PM · Restricted Project
zoecarver added inline comments to D103056: [libcxx][ranges] Add `ranges::transform_view`..
Jul 1 2021, 4:42 PM · Restricted Project
zoecarver committed rGedc1f0c12c83: [libcxx][ranges] Implement indirectly_swappable. (authored by zoecarver).
[libcxx][ranges] Implement indirectly_swappable.
Jul 1 2021, 3:09 PM