[libcxx-commits] [PATCH] D142805: Don't re-export top-level modules.
Vassil Vassilev via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 6 09:35:09 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG064f68f7c451: Don't re-export top-level modules (authored by v.g.vassilev).
Herald added a project: libc++.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142805/new/
https://reviews.llvm.org/D142805
Files:
libcxx/include/module.modulemap.in
Index: libcxx/include/module.modulemap.in
===================================================================
--- libcxx/include/module.modulemap.in
+++ libcxx/include/module.modulemap.in
@@ -2,12 +2,11 @@
// since __config may be included from C headers which may create an
// include cycle.
module std_config [system] [extern_c] {
- header "__config"
+ textual header "__config"
export *
}
module std [system] {
- export std_config
// FIXME: The standard does not require that each of these submodules
// re-exports its imported modules. We should provide an alternative form of
// export that issues a warning if a name from the submodule is used, and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142805.495168.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230206/dd0ba5fc/attachment.bin>
More information about the libcxx-commits
mailing list