summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:48:58 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:48:58 +0000
commit43ef70d524564c7dd52b5f2bdbf8f955c0970864 (patch)
treecd472768797e61d354fa6dda8f5186453b792fd5 /utils
parentd1d05a8bbbf64f1635c9758e806678d8be273892 (diff)
Update and fix LLVM_ENABLE_MODULES:
1) We need to add this flag prior to adding any other, in case the user has specified a -fmodule-cache-path= flag in their custom CXXFLAGS. Such a flag causes -Werror builds to fail, and thus all config checks fail, until we add the corresponding -fmodules flag. The modules selfhost bot does this, for instance. 2) Delete module maps that were putting .cpp files into modules. 3) Enable -fmodules-local-submodule-visibility, to get proper module visibility rules applied across submodules of the same module. Disable -fmodules for C builds, since that flag is not available there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/module.modulemap4
1 files changed, 0 insertions, 4 deletions
diff --git a/utils/TableGen/module.modulemap b/utils/TableGen/module.modulemap
deleted file mode 100644
index 8871bbfd4a2..00000000000
--- a/utils/TableGen/module.modulemap
+++ /dev/null
@@ -1,4 +0,0 @@
-module TableGen {
- umbrella "."
- module * { export * }
-}