[libcxx-commits] [PATCH] D157364: [libc++][Modules] Generate the __std_clang_module header

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 7 23:26:38 PDT 2023


iana created this revision.
iana added reviewers: ldionne, Mordante.
Herald added subscribers: ributzka, arichardson.
Herald added a project: All.
iana requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157364

Files:
  libcxx/docs/Contributing.rst
  libcxx/include/CMakeLists.txt
  libcxx/include/__std_clang_module
  libcxx/include/generate_std_clang_module_header.py
  libcxx/test/libcxx/assertions/headers_declare_verbose_abort.gen.py
  libcxx/test/libcxx/clang_tidy.gen.py
  libcxx/test/libcxx/double_include.gen.py
  libcxx/test/libcxx/header_inclusions.gen.py
  libcxx/test/libcxx/libcpp_version.gen.py
  libcxx/test/libcxx/lint/lint_headers.sh.py
  libcxx/test/libcxx/module_std.gen.py
  libcxx/test/libcxx/modules_include.gen.py
  libcxx/test/libcxx/no_assert_include.gen.py
  libcxx/test/libcxx/system_reserved_names.gen.py
  libcxx/test/libcxx/transitive_includes.gen.py
  libcxx/utils/libcxx/header_information.py
  libcxx/utils/libcxx/test/header_information.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157364.548075.patch
Type: text/x-patch
Size: 19874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230808/45518e14/attachment-0001.bin>


More information about the libcxx-commits mailing list