llvm-project/libcxx/test/std/utilities/format/format.functions
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
..
P2418.pass.cpp [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format.locale.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
format.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format.verify.cpp [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format_tests.h [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format_to.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format_to.locale.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
format_to.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format_to.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
format_to_n.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format_to_n.locale.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
format_to_n.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
format_to_n.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
formatted_size.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
formatted_size.locale.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
formatted_size.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
formatted_size.verify.cpp [libc++][format] Implement format-string. 2022-06-11 15:25:56 +02:00
locale-specific_form.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
vformat.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
vformat.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
vformat_to.locale.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00
vformat_to.pass.cpp [libc++][CI] Updates GCC to version 12. 2022-06-21 18:59:20 +02:00