There are no tests for the aliases because clang doesn't diagnose deprecated template aliases currently.
Details
- Reviewers
ldionne Mordante var-const - Group Reviewers
Restricted Project - Commits
- rG987f08fe229c: [libc++] Implement P1413R3 (Deprecate std::aligned_storage and std…
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Address comments
libcxx/docs/Status/Cxx2bPapers.csv | ||
---|---|---|
45 | Apparently it's actually supported and clang currently just doesn't feel like issuing a diagnostic for it. I've marked the using declarations as deprecated now and updated the note. Hopefully clang will get this fixed soon. I've seen a patch fixing it at some point, but I can't find it anymore. |
libcxx/include/any | ||
---|---|---|
141–143 ↗ | (On Diff #485337) | I know this is easy to change, but I would stick with the DEPRECATED_PUSH here and everywhere else. This is *really* supposed to be a NFC patch. Once we get rid of aligned_storage everywhere in our code base, we can do it here as well trivially. |
I think the CI issue on GCC is likely to yield interesting findings. I somewhat suspect that non-lockfree-atomics is subtly broken, or that the atomic tests that fail should not have been marked as XFAIL, or a combination of both. Please investigate using the Docker image, I think you'll find something interesting.
Address comments
I wasn't able to reproduce the issue locally. I hope the rebase fixed the problem.
Since it's not possible to deprecated using I would consider this complete, but let's keep the note for clarity.