llvm-project/libcxx/include/__utility
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
..
as_const.h [libc++] Add a bunch of missing _LIBCPP_HIDE_FROM_ABI 2022-08-13 22:41:22 +02:00
auto_cast.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
cmp.h [libc++] Remove macros for IBM compiler 2022-06-14 09:15:41 -04:00
convert_to_integral.h [libc++] Granularize the rest of type_traits 2022-08-14 10:30:48 +02:00
declval.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
exchange.h [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
forward.h [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
forward_like.h [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
in_place.h [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
integer_sequence.h [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
move.h [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
pair.h [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
piecewise_construct.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
priority_tag.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
rel_ops.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
swap.h [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
to_underlying.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
transaction.h [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
unreachable.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00