[all-commits] [llvm/llvm-project] 088c7f: [libc++] Applies P0602R4 retro-actively.
mordante via All-commits
all-commits at lists.llvm.org
Tue Sep 20 10:01:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 088c7f7e3ce8d702b6d7b69a362ceb9a4f91a569
https://github.com/llvm/llvm-project/commit/088c7f7e3ce8d702b6d7b69a362ceb9a4f91a569
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M libcxx/include/optional
M libcxx/include/variant
M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp
R libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
Log Message:
-----------
[libc++] Applies P0602R4 retro-actively.
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.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D133326
More information about the All-commits
mailing list