This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Applies P0602R4 retro-actively.
ClosedPublic

Authored by Mordante on Sep 5 2022, 10:31 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG088c7f7e3ce8: [libc++] Applies P0602R4 retro-actively.
Summary

While testing a test failure of C++17 with Clang ToT it was noticed the
paper

P0602R4 variant and optional should propagate copy/move triviality

was not applied as a DR in libc++.

This was discovered while investigating the issue "caused by" D131479.

Diff Detail

Event Timeline

Mordante created this revision.Sep 5 2022, 10:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2022, 10:31 AM
Mordante updated this revision to Diff 461280.Sep 19 2022, 11:10 AM

Polished test whether works with all Clang versions.

Mordante updated this revision to Diff 461292.Sep 19 2022, 12:01 PM

Reenable the proper CI.

Mordante published this revision for review.Sep 19 2022, 12:05 PM

The patch is tested with all Clang versions in this build https://buildkite.com/llvm-project/libcxx-ci/builds/13640

Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 12:05 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Sep 20 2022, 9:34 AM
This revision is now accepted and ready to land.Sep 20 2022, 9:34 AM
This revision was automatically updated to reflect the committed changes.
libcxx/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp