[libc++][modules] Adds the C++23 std module.
authorMark de Wever <koraq@xs4all.nl>
Tue, 28 Feb 2023 19:29:26 +0000 (20:29 +0100)
committerMark de Wever <koraq@xs4all.nl>
Thu, 15 Jun 2023 16:14:15 +0000 (18:14 +0200)
commit9b08c8a225ca3532067c15a136163df545e82c90
treee44a68b2c0900d4e5e216f763842d8667fe89d63
parent6551e59802942d508d32762ab4577567fc2e87bb
[libc++][modules] Adds the C++23 std module.

The patch is based on D144994.

D151030 added the module definitions for the module std.
This patch wires in the module and enables the basic testing.

Some notable features are missing:
- There is no test that libc++ can be fully imported as a module.
- This lacks the parts for the std.compat module.
- The module is not shipped with libc++.

Implements parts of
- P2465R3 Standard Library Modules std and std.compat

Reviewed By: ldionne, aaronmondal, #libc

Differential Revision: https://reviews.llvm.org/D151814
24 files changed:
libcxx/CMakeLists.txt
libcxx/cmake/caches/Generic-module-std-cxx23.cmake [new file with mode: 0644]
libcxx/cmake/caches/Generic-modules-lsv.cmake
libcxx/cmake/caches/Generic-modules.cmake
libcxx/docs/Contributing.rst
libcxx/docs/Modules.rst [new file with mode: 0644]
libcxx/docs/ReleaseNotes.rst
libcxx/docs/index.rst
libcxx/modules/.clang-format [new file with mode: 0644]
libcxx/modules/CMakeLists.txt [new file with mode: 0644]
libcxx/modules/CMakeLists.txt.in [new file with mode: 0644]
libcxx/modules/std/string.cppm
libcxx/test/CMakeLists.txt
libcxx/test/configs/cmake-bridge.cfg.in
libcxx/test/libcxx/module_std.gen.py [new file with mode: 0644]
libcxx/test/libcxx/modules_include.gen.py
libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp [new file with mode: 0644]
libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.hpp [new file with mode: 0644]
libcxx/test/tools/clang_tidy_checks/libcpp_module.cpp
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
libcxx/utils/libcxx/test/dsl.py
libcxx/utils/libcxx/test/params.py