The behaviour didn't change since commit 5b08c1742a536f54bd5e270b00ff851cbc7314ef (Recommit <chrono> changes with a couple xtra tests marked to fail on apple's clang.)
Details
- Reviewers
ldionne mclow.lists - Group Reviewers
Restricted Project - Commits
- rG877170f3eb2a: [libc++] [LWG3221] Add tests for wrapping operator+(year_month, months).
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
A few minor nits, but otherwise LGTM.
libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp | ||
---|---|---|
31–32 | Since you're cleaning up this code. would it make sense to change these ifs by asserts? | |
106 | Since the test is C++20, can you remove the empty string? | |
132 | Since the test is C++20, can you remove the empty string? |
libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp | ||
---|---|---|
38–52 | Actually I should get rid of these two, since I test the whole test() now in constexpr context. WDYT? |
libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp | ||
---|---|---|
38–52 | Good point. I agree. |
libcxx/docs/Cxx2aStatusIssuesStatus.csv | ||
---|---|---|
171 | Yes, that's what I did. I updated the summary to mention the concerned commit. |
You checked the blame to figure out what version we shipped that in?