[PATCH] D54772: [libcxx] Reorganize tests since the application of P0602R4

Louis Dionne via Phabricator reviews at reviews.llvm.org
Tue Nov 20 13:09:19 PST 2018


ldionne created this revision.
ldionne added reviewers: EricWF, mpark, mclow.lists.
Herald added subscribers: libcxx-commits, dexonsmith, jkorous, christof.

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.


Repository:
  rCXX libc++

https://reviews.llvm.org/D54772

Files:
  libcxx/include/optional
  libcxx/include/variant
  libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
  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
  libcxx/test/std/utilities/optional/optional.object/special_member_gen.pass.cpp
  libcxx/test/std/utilities/optional/optional.object/special_members.pass.cpp
  libcxx/test/std/utilities/optional/optional.object/triviality.pass.cpp
  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
  libcxx/www/upcoming_meeting.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54772.174826.patch
Type: text/x-patch
Size: 33597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181120/1a25da52/attachment-0001.bin>


More information about the libcxx-commits mailing list