llvm-project/libcxx/test/std/language.support
Marek Kurdej 0324b46cd8 [libc++] [C++2b] [P2162] Allow inheritance from std::variant.
This patch changes the variant even in pre-C++2b.
It should not break anything, only allow use cases that didn't work previously.

Notes:
 `__as_variant` is used in `__visitation::__variant::__visit_alt`, but I haven't used it in `__visitation::__variant::__visit_alt_at`.
That's because it is used only in `__visit_value_at`, which in turn is always used on variant specializations (that's in comparison operators).

* https://wg21.link/P2162

Reviewed By: ldionne, #libc, Quuxplusone

Differential Revision: https://reviews.llvm.org/D97394
2021-03-25 18:20:50 +01:00
..
cmp Fix test failures with trunk clang 2020-09-29 17:10:07 -07:00
cstdint/cstdint.syn Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
support.dynamic [libcxx] [test] Add XFAIL LIBCXX-WINDOWS-FIXME in 124 tests that fail in the future CI configuration 2021-03-22 23:41:11 +02:00
support.exception [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
support.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
support.initlist [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
support.limits [libc++] [C++2b] [P2162] Allow inheritance from std::variant. 2021-03-25 18:20:50 +01:00
support.rtti [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
support.runtime [libcxx] [test] Add XFAIL LIBCXX-WINDOWS-FIXME in 124 tests that fail in the future CI configuration 2021-03-22 23:41:11 +02:00
support.start.term [libc++] Clean up tests for "optional" C11 features 2020-07-28 15:13:05 -04:00
support.types [libcxx] Mark a test as unsupported for C++03 2021-01-07 12:06:08 +00:00