[all-commits] [llvm/llvm-project] b9f240: [libc++][C++20 modules] Enabling in C++20.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Sep 5 09:11:11 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9f24033f7f2d3485fbabbc56e3b31b5bc90e874
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M libcxx/docs/Modules.rst
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/modules/std/algorithm.inc
    M libcxx/modules/std/bit.inc
    M libcxx/modules/std/expected.inc
    M libcxx/modules/std/format.inc
    M libcxx/modules/std/functional.inc
    M libcxx/modules/std/mdspan.inc
    M libcxx/modules/std/memory.inc
    M libcxx/modules/std/print.inc
    M libcxx/modules/std/ranges.inc
    M libcxx/modules/std/string.inc
    M libcxx/modules/std/thread.inc
    M libcxx/modules/std/tuple.inc
    M libcxx/modules/std/type_traits.inc
    M libcxx/modules/std/utility.inc
    M libcxx/modules/std/vector.inc
    M libcxx/test/libcxx/module_std.gen.py
    M libcxx/test/lit.local.cfg
    M libcxx/utils/ci/buildkite-pipeline.yml

  Log Message:
  [libc++][C++20 modules] Enabling in C++20.

The vendors of the MSVC STL, libstdc++ and libc++ have agreed [1] to
make the C++23 modules std and std.compat available in C++20. This
provides the std module; libc++ has not implemented the std.compat
module yet.

[1] https://github.com/microsoft/STL/issues/3945

Depends on D158357

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D158358

More information about the All-commits mailing list