llvm-capstone/libcxx
Hristo Hristov 7d9b5aa65b
[libc++][format] P2637R3: Member visit (std::basic_format_arg) (#76449)
Implements parts of: `P2637R3` https://wg21.link/P2637R3
(https://eel.is/c++draft/variant.visit)

Implements:
`basic_format_arg.visit()`
`basic_format_arg.visit<R>()`
Deprecates:
`std::visit_format_arg()`

The tests are as close as possible to the non-member function tests.

To land after: https://github.com/llvm/llvm-project/pull/76447,
https://github.com/llvm/llvm-project/pull/76268

---------

Co-authored-by: Zingam <zingam@outlook.com>
2024-01-21 12:30:25 +02:00
..
benchmarks [libc++] Implement ranges::contains (#65148) 2023-12-19 16:34:19 -08:00
cmake Revert #76246 and #76083 2024-01-18 15:07:33 -08:00
docs [libc++][format] P2637R3: Member visit (std::basic_format_arg) (#76449) 2024-01-21 12:30:25 +02:00
include [libc++][format] P2637R3: Member visit (std::basic_format_arg) (#76449) 2024-01-21 12:30:25 +02:00
lib [libc++][Android] Add NDK ABI lists for i686 and x86_64 (#69272) 2024-01-12 13:00:16 -08:00
modules Revert #76246 and #76083 2024-01-18 15:07:33 -08:00
src [libc++][hardening] Categorize assertions that produce incorrect results (#77183) 2024-01-20 23:38:02 -08:00
test [libc++][format] P2637R3: Member visit (std::basic_format_arg) (#76449) 2024-01-21 12:30:25 +02:00
utils [libc++][format] P2637R3: Member visit (std::basic_format_arg) (#76449) 2024-01-21 12:30:25 +02:00
vendor/llvm [libc++][hardening] In production hardening modes, trap rather than abort (#78561) 2024-01-19 13:48:13 -08:00
.clang-format [libc++][memory] P2868R1: Removing deprecated typedef std::allocator::is_always_equal (#78562) 2024-01-20 06:07:19 +02:00
.clang-tidy Revert "[libc++] Clang-tidy enable modernize-use-nullptr. (#76659)" (#78409) 2024-01-17 01:30:52 -08:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml Remove lit's --summary flag from buildbots. 2023-08-31 14:23:51 -04:00
CMakeLists.txt Revert #76246 and #76083 2024-01-18 15:07:33 -08:00
CREDITS.TXT
LICENSE.TXT
TODO.TXT