Based on https://reviews.llvm.org/D132312
Dependes on https://reviews.llvm.org/D132312
Details
- Reviewers
avogelsgesang Mordante philnik - Group Reviewers
Restricted Project - Commits
- rG2ff646f554bc: [libc++][spaceship] Implement `operator<=>` for `deque`
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
- [libc++][spaceship] Implement operator<=> for deque
- Removed test_container_comparisons.h
Based on https://reviews.llvm.org/D132312
Thanks for this change!
In general, I won't be able to approve your commit for the libc++ group. In the end, you will need the review from one of the "core libc++ contributors" (e.g., @Mordante) to ship this fix.
Also, for "stacked commits", i.e. commits which depend on other changes which didn't land on main, yet, you need to add a parent revision here on Phabricator. I did this for you already and also restarted the CI job. So this is just for future reference :)
Please also update libcxx/docs/Status/SpaceshipProjects.csv
libcxx/include/deque | ||
---|---|---|
2398 ↗ | (On Diff #500550) | We need to ADL-proof this. My other commit for std::list was actually also missing this. A clang-tidy check in our CI should catch this and report an error for this line... |
libcxx/test/libcxx/containers/sequences/deque/compare.three_way.pass.cpp | ||
26 ↗ | (On Diff #500550) | missing newline at end of file (I assume you are on Windows? In case you are using VS Code, there is an "Insert Final Newline" setting which you might want to change) |
libcxx/test/libcxx/containers/sequences/deque/compare.three_way.pass.cpp | ||
---|---|---|
10 ↗ | (On Diff #500550) |
- [libc++][spaceship] Implement operator<=> for deque
- Removed test_container_comparisons.h
- Addressed code reviews
- Restored
Thank you very much for the review and the notes and of course for completing the real work previously. I wanted to try out the process of submitting a patch.
A have a couple of questions:
- Do I need to add anyone specific as a reviewer, message/ask somebody or I should just wait.
- If this patch passes the review successfully, would you mind if I try completing some of the other containers too?
libcxx/test/libcxx/containers/sequences/deque/compare.three_way.pass.cpp | ||
---|---|---|
26 ↗ | (On Diff #500550) | I don't get it. Is this file still missing an empty line? |
For libc++ not, because #libc gets automatically added, so every libc++ approver gets notified. For other subprojects that's not necessarily the case, so you might have to add people.
- If this patch passes the review successfully, would you mind if I try completing some of the other containers too?
Feel free to do so, but make sure there isn't a patch already (AFAICT for spaceship there is only for array and vector a patch). More contributors are always welcome.
LGTM % nits. I guess you don't have commit access? In that case, please provide "Your Name" <your.email@address>.
libcxx/include/deque | ||
---|---|---|
146–149 ↗ | (On Diff #501430) | |
libcxx/test/libcxx/containers/sequences/deque/compare.three_way.pass.cpp | ||
16–17 ↗ | (On Diff #501430) | |
26 ↗ | (On Diff #500550) | No. Phab only complains about it when there isn't one. |
not necessarily the case, so you might have to add people.
- If this patch passes the review successfully, would you mind if I try completing some of the other containers too?
Feel free to do so, but make sure there isn't a patch already (AFAICT for spaceship there is only for array and vector a patch). More contributors are always welcome.
Feel free to pick the items that are unassigned. When you want to pick an assigned item, best discuss on Discord. Some of the assigned items may have a patch already.
Thanks for your contribution, LGTM!