llvm-project/libcxx/test/std/utilities/variant
Joe Loser dd9afdbb2a [libc++] Fix missing requires clause on variant operator<=>
`std::variant::operator<=>` is missing a requires clause ensuring that
`operator<=>` only exists when all of the types in the variant are
`three_way_comparable`.

Add the missing requires clause and adjust the existing test which was
incorrect.

Fixes https://github.com/llvm/llvm-project/issues/58192.

Differential Revision: https://reviews.llvm.org/D136050
2022-10-17 16:23:02 -06:00
..
variant.bad_variant_access [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.general [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.get [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.hash [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.helpers [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.monostate [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.monostate.relops [libc++][spaceship] Implement std::variant::operator<=> 2022-08-14 16:16:52 -07:00
variant.relops [libc++] Fix missing requires clause on variant operator<=> 2022-10-17 16:23:02 -06:00
variant.synopsis [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
variant.variant [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
variant.visit [libcxx][test] Add missing includes and suppress warnings 2022-01-13 17:34:04 -08:00