[libcxx] Reorganize tests since the application of P0602R4
authorLouis Dionne <ldionne@apple.com>
Thu, 10 Jan 2019 20:06:11 +0000 (20:06 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 10 Jan 2019 20:06:11 +0000 (20:06 +0000)
commit1d5f6a81f577d62688946e3ffbcf2643f03fa507
tree4327bda2860847a2b716545a10d533709f4730e1
parent7d1085cbb020f68014ba938314e9136bb9e811a1
[libcxx] Reorganize tests since the application of P0602R4

Summary:
P0602R4 makes the special member functions of optional and variant
conditionally trivial based on the types in the optional/variant.
We already implemented that, but the tests were organized as if this
were a non-standard extension. This patch reorganizes the tests in a
way that makes more sense since this is not an extension anymore.

Reviewers: EricWF, mpark, mclow.lists

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Differential Revision: https://reviews.llvm.org/D54772

llvm-svn: 350884
13 files changed:
libcxx/include/optional
libcxx/include/variant
libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp [moved from libcxx/test/std/utilities/optional/optional.object/special_member_gen.pass.cpp with 75% similarity]
libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp
libcxx/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp
libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp [deleted file]
libcxx/test/std/utilities/optional/optional.object/special_members.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/optional/optional.object/triviality.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
libcxx/www/cxx2a_status.html