llvm/libcxx/test/std
Mark de Wever 0922ce56f4 [libc++][format] Add __format_arg_store.
This implements the struct `__format_arg_store` and its dependencies:
* the class basic_format_arg,
* the class basic_format_args,
* the class basic_format_context,
* the function make_format_args,
* the function wmake_format_args,
* the function visit_format_arg,
* several Standard required typedefs.

The following parts will be implemented in a later patch:

* the child class `basic_format_arg::handle`,
* the function `basic_format_arg::basic_format_arg(const T* p)`.

The following extension has been implemented:
* the class basic_format_arg supports `__[u]int128_t` on platform where libc++ supports 128 bit integrals.

Implements parts of:
* P0645 Text Formatting

Completes:
* LWG3371 visit_format_arg and make_format_args are not hidden friends
* LWG3542 basic_format_arg mishandles basic_string_view with custom traits

Note https://mordante.github.io/blog/2021/06/05/format.html gives a bit more information about the goals and non-goals of this initial patch series.

Reviewed By: #libc, ldionne, vitaut

Differential Revision: https://reviews.llvm.org/D103357
2021-09-01 19:45:02 +02:00
..
algorithms [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
atomics [libc++][NFC] Fix copy-paste errors in tests 2021-08-18 08:54:18 -04:00
concepts [libc++] [test] IWYU in <concepts> tests. 2021-08-09 09:39:36 -04:00
containers [libc++][NFC] Correct comment about P0600 missing node_handle bits 2021-09-01 10:51:55 -04:00
depr [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
diagnostics [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
experimental [libcxx][nfc] Fix the ASAN bots: update expected.pass.cpp. 2021-05-26 14:06:25 -07:00
input.output [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
iterators [libcxx] contiguous iterator concept: don't require pointer or complete element types 2021-09-01 08:32:41 -04:00
language.support [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
localization [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
namespace
numerics [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
ranges [libc++] Various cleanups in the ranges tests 2021-08-30 12:46:32 -04:00
re [libc++] Remove workarounds for the lack of deduction guides in C++17 2021-08-18 08:57:25 -04:00
strings [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
thread [SystemZ][z/OS] Avoid assumption for character value in futures tests 2021-08-20 14:03:03 -04:00
utilities [libc++][format] Add __format_arg_store. 2021-09-01 19:45:02 +02:00
pstl