[all-commits] [llvm/llvm-project] 9b08c8: [libc++][modules] Adds the C++23 std module.

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Jun 15 09:14:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b08c8a225ca3532067c15a136163df545e82c90
      https://github.com/llvm/llvm-project/commit/9b08c8a225ca3532067c15a136163df545e82c90
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M libcxx/CMakeLists.txt
    A libcxx/cmake/caches/Generic-module-std-cxx23.cmake
    M libcxx/cmake/caches/Generic-modules-lsv.cmake
    M libcxx/cmake/caches/Generic-modules.cmake
    M libcxx/docs/Contributing.rst
    A libcxx/docs/Modules.rst
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/docs/index.rst
    A libcxx/modules/.clang-format
    A libcxx/modules/CMakeLists.txt
    A libcxx/modules/CMakeLists.txt.in
    M libcxx/modules/std/string.cppm
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/cmake-bridge.cfg.in
    A libcxx/test/libcxx/module_std.gen.py
    M libcxx/test/libcxx/modules_include.gen.py
    M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
    A libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
    A libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.hpp
    M libcxx/test/tools/clang_tidy_checks/libcpp_module.cpp
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/libcxx/test/dsl.py
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list