From 2db6f2e508126d237435a4d43af8076bf74f641d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 16 Apr 2016 00:48:58 +0000 Subject: 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. llvm-svn: 266502 --- llvm/lib/Bitcode/module.modulemap | 1 - 1 file changed, 1 deletion(-) delete mode 100644 llvm/lib/Bitcode/module.modulemap (limited to 'llvm/lib/Bitcode/module.modulemap') diff --git a/llvm/lib/Bitcode/module.modulemap b/llvm/lib/Bitcode/module.modulemap deleted file mode 100644 index 7df1a0a3c72..00000000000 --- a/llvm/lib/Bitcode/module.modulemap +++ /dev/null @@ -1 +0,0 @@ -module Bitcode { requires cplusplus umbrella "." module * { export * } } -- cgit v1.2.3