llvm-project/libcxx/test/std/utilities
Mark de Wever 606e280811 [libc++][format] Use forwarding references.
This implements a not accepted LWG issue. Not doing so would require
integral types to use the handle class instead of being directly stored
in the basic_format_arg.

The previous code used `std::forward` in places where it wasn't required
by the Standard. These are now removed.

Implements:
- P2418R2 Add support for std::generator-like types to std::format
- LWG 3631 basic_format_arg(T&&) should use remove_cvref_t<T> throughout

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D127570
2022-07-10 17:19:28 +02:00
..
allocator.adaptor [libc++] P0433R2: add the remaining deduction guides. 2021-10-28 11:09:51 -07:00
any Improve the formatting of static_assert messages 2022-06-30 23:59:21 +02:00
charconv [libc++] Implements 128-bit support in to_chars. 2022-07-07 17:32:27 +02:00
format [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
function.objects [libc++] Complete the implementation of N4190 2022-06-22 10:13:03 +02:00
intseq Improve the formatting of static_assert messages 2022-06-30 23:59:21 +02:00
memory [libc++][ranges] Finish LWG issues directly related to the One Ranges Proposal. 2022-06-28 12:00:15 -07:00
meta [libc++] Granularize even more of type_traits 2022-06-10 11:56:38 +02:00
optional Improve the formatting of static_assert messages 2022-06-30 23:59:21 +02:00
ratio [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
smartptr/unique.ptr [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
template.bitset [libc++] Complete the implementation of N4190 2022-06-22 10:13:03 +02:00
tuple [libc++] Fix signature of main() in tests 2022-06-28 15:38:02 -04:00
type.index [libc++] Complete the implementation of N4190 2022-06-22 10:13:03 +02:00
utilities.general
utility Improve the formatting of static_assert messages 2022-06-30 23:59:21 +02:00
utility.requirements [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
variant Improve the formatting of static_assert messages 2022-06-30 23:59:21 +02:00