llvm-project/libcxx/test/std/strings/string.view/string.view.comparison
Mark de Wever 70074cf397 [libc++] Fixes string_view comparison operators.
While implementing `operator<=>` for `string_view` (D130295) @philnik
pointed out `common_type` should be `type_identity`. Since it was an
existing issue that wasn't addressed.

This addresses the issue for both the new and existing equality and
comparison operators. The test is based on the example posted in
D130295.

Reviewed By: philnik, #libc, huixie90

Differential Revision: https://reviews.llvm.org/D131322
2022-08-10 19:38:50 +02:00
..
common_type_specialization.pass.cpp [libc++] Fixes string_view comparison operators. 2022-08-10 19:38:50 +02:00
comparison.pass.cpp [libc++] Uses operator<=> in string_view 2022-08-04 19:13:47 +02:00
comparison.verify.cpp [libc++] Uses operator<=> in string_view 2022-08-04 19:13:47 +02:00
equal.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
greater.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
greater_equal.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
less.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
less_equal.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
not_equal.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00