[libcxx-commits] [libcxx] [libc++] Add some private headers to libcxx.imp (PR #89568)

Takuto Ikuta via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 23 03:39:45 PDT 2024


================
@@ -161,6 +161,10 @@ def is_header(file):
     ]
 
 
+def is_public_header(header):
+    return "__" not in header and not header.startswith("ext/")
----------------
atetubou wrote:

`not header.startswith("ext/")` is to prevent appearing `ext/*` headers in 
https://github.com/llvm/llvm-project/blob/main/libcxx/include/__std_clang_module

But I'm not sure that is intentional or not.

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


More information about the libcxx-commits mailing list