[all-commits] [llvm/llvm-project] f0c5ce: [libc++][Modules] Generate the __std_clang_module ...

Ian Anderson via All-commits all-commits at lists.llvm.org
Mon Aug 14 12:08:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0c5ce0800ea018c848158fbce43e8820b22119c
      https://github.com/llvm/llvm-project/commit/f0c5ce0800ea018c848158fbce43e8820b22119c
  Author: Ian Anderson <iana at apple.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M libcxx/include/__std_clang_module
    M libcxx/test/libcxx/modules_include.gen.py
    M libcxx/utils/CMakeLists.txt
    A libcxx/utils/generate_std_clang_module_header.py
    M libcxx/utils/libcxx/header_information.py

  Log Message:
  -----------
  [libc++][Modules] Generate the __std_clang_module header

Use header_information to generate the __std_clang_module header. Instead of using lit_header_restrictions like the manually written header did, make a new header_include_requirements to codify what can be included rather than what can be fully tested.

Reviewed By: Mordante, #libc

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




More information about the All-commits mailing list