summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-10-13 22:13:33 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-10-13 22:13:33 +0000
commitd3a7bfcde543b9a5adb31d042d0aa7a3907ceaa6 (patch)
tree2632ddcefb9994a70a2e10862a0eb3b4f2ba2f87
parentf9f796e79b95a70346a945a589e833b71123e983 (diff)
downloadbcm5719-llvm-d3a7bfcde543b9a5adb31d042d0aa7a3907ceaa6.tar.gz
bcm5719-llvm-d3a7bfcde543b9a5adb31d042d0aa7a3907ceaa6.zip
Remove __config module to avoid #include cycle when libc headers include libc++'s <foo.h> headers.
llvm-svn: 250236
-rw-r--r--libcxx/include/module.modulemap6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 3c0700eca44..3fb7428411d 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -455,9 +455,13 @@ module std [system] {
export *
}
+ // FIXME: We don't have modules for the <foo.h> headers, because they might
+ // be included from the C library's headers, and that would create a #include
+ // cycle. For the same reason, we don't have a module for __config.
+ //module __config { header "__config" export * }
+
// FIXME: These should be private.
module __bit_reference { header "__bit_reference" export * }
- module __config { header "__config" export * }
module __debug { header "__debug" export * }
module __functional_base { header "__functional_base" export * }
module __hash_table { header "__hash_table" export * }
OpenPOWER on IntegriCloud