llvm-project/libcxx/test/std/strings/string.view
Louis Dionne c2df707666 [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides
There are a handful of standard library types that are intended
to support CTAD but don't need any explicit deduction guides to
do so.

This patch adds a dummy deduction guide to those types to suppress
-Wctad-maybe-unsupported (which gets emitted in user code).

This is a re-application of the original patch by Eric Fiselier in
fcd549a7d8 which had been reverted due to reasons lost at this point.
I also added the macro to a few more types. Reviving this patch was
prompted by the discussion on https://llvm.org/D133425.

Differential Revision: https://reviews.llvm.org/D133535
2022-10-03 14:05:08 -04:00
..
string.view.access [libc++] Granularize <iterator> includes 2022-06-10 22:43:57 +02:00
string.view.capacity [libc++][test] Use TEST_HAS_NO_CHAR8_T to simplify #ifdefs. NFCI. 2022-08-25 21:09:10 -06:00
string.view.comparison [libc++] Fixes string_view comparison operators. 2022-08-10 19:38:50 +02:00
string.view.cons [libc++][test] Use TEST_HAS_NO_CHAR8_T to simplify #ifdefs. NFCI. 2022-08-25 21:09:10 -06:00
string.view.deduct [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
string.view.find [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
string.view.hash [libc++] Enable hash only for the correct types 2022-08-26 17:40:23 +02:00
string.view.io [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
string.view.iterators [libc++][test] Use TEST_HAS_NO_CHAR8_T to simplify #ifdefs. NFCI. 2022-08-25 21:09:10 -06:00
string.view.modifiers [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
string.view.nonmem [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
string.view.ops [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
string.view.synop [libc++][NFC] Fix minor errors and inconsistencies in the test suite 2021-08-20 12:14:24 -04:00
string.view.template [libc++][test] Fix unused variable warning in string_view tests 2022-06-02 13:33:37 -06:00
string_view.literals [libc++][test] Use TEST_HAS_NO_CHAR8_T to simplify #ifdefs. NFCI. 2022-08-25 21:09:10 -06:00
char.bad.fail.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
enable_borrowed_range.compile.pass.cpp [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
range_concept_conformance.compile.pass.cpp [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
traits_mismatch.compile.fail.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
trivially_copyable.compile.pass.cpp [libc++][test] Skip string_view tests for other vendors on older modes 2022-06-03 13:51:49 -06:00
types.pass.cpp [libc++][test] Use TEST_HAS_NO_CHAR8_T to simplify #ifdefs. NFCI. 2022-08-25 21:09:10 -06:00