[libcxx-commits] [libcxx] 7338227 - [libc++] Disable local submodule visibility in the modules build
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 11 12:53:02 PST 2022
Author: Louis Dionne
Date: 2022-02-11T15:52:55-05:00
New Revision: 73382278825d2612bbcd59b5627a82189fa4ae11
URL: https://github.com/llvm/llvm-project/commit/73382278825d2612bbcd59b5627a82189fa4ae11
DIFF: https://github.com/llvm/llvm-project/commit/73382278825d2612bbcd59b5627a82189fa4ae11.diff
LOG: [libc++] Disable local submodule visibility in the modules build
Differential Revision: https://reviews.llvm.org/D119468
Added:
Modified:
libcxx/include/module.modulemap
libcxx/utils/libcxx/test/params.py
Removed:
################################################################################
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 5c21e5dba4b2..6a55bf3f42d7 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -2,8 +2,9 @@
// since __config may be included from C headers which may create an
// include cycle.
module std_config [system] [extern_c] {
- textual header "__config"
- textual header "__config_site"
+ header "__config"
+ header "__config_site"
+ export *
}
module std [system] {
diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index be4d892f741d..211cd189df4a 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -76,7 +76,6 @@ def getStdFlag(cfg, std):
actions=lambda modules: [
AddFeature('modules-build'),
AddCompileFlag('-fmodules'),
- AddCompileFlag('-Xclang -fmodules-local-submodule-visibility'),
] if modules else []),
Parameter(name='enable_exceptions', choices=[True, False], type=bool, default=True,
More information about the libcxx-commits
mailing list