[libcxx-commits] [libcxx] [libc++] Add missing headers to the modulemap (PR #71127)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 15 15:44:32 PST 2023


================
@@ -0,0 +1,51 @@
+# RUN: %{python} %s %{include}
+
+import pathlib
+import sys
+
+headers = list(pathlib.Path(sys.argv[1]).rglob("*"))
----------------
ldionne wrote:

We already have some of that logic in `header_information.py`, we should just add what we need to it and then use it here. For example, we already have the logic for excluding `libcxx.imp` and `module.modulemap`.

We probably want a slightly different list of headers but we can make clear that it's used for modulemap generation.

https://github.com/llvm/llvm-project/pull/71127


More information about the libcxx-commits mailing list