summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 06:39:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 06:39:44 +0000
commitc6cc58a549d65f1e09f098916456c4453969aaf6 (patch)
tree20b4f6d4648f075b2571d4ba2772a3e4fc8435c3
parentb49b015bede55c8687f2d0540cc624f6c5078acf (diff)
downloadbcm5719-llvm-c6cc58a549d65f1e09f098916456c4453969aaf6.tar.gz
bcm5719-llvm-c6cc58a549d65f1e09f098916456c4453969aaf6.zip
clang/module.modulemap: Create Clang_Frontend_CodeGenOptions to remove some dependencies in clangBasic.
- Clang_Analysis - Clang_C - Clang_Frontend - Clang_Lex - Clang_Sema - Clang_Serialization - Clang_StaticAnalyzer_Core llvm-svn: 315566
-rw-r--r--clang/include/clang/module.modulemap9
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap
index 8c9736f2366..a09027daeba 100644
--- a/clang/include/clang/module.modulemap
+++ b/clang/include/clang/module.modulemap
@@ -89,7 +89,6 @@ module Clang_Frontend {
requires cplusplus
umbrella "Frontend"
- textual header "Frontend/CodeGenOptions.def"
textual header "Frontend/LangStandards.def"
module * { export * }
@@ -98,6 +97,14 @@ module Clang_Frontend {
exclude header "Frontend/PCHContainerOperations.h"
}
+// Used in clangBasic
+module Clang_Frontend_CodeGenOptions {
+ requires cplusplus
+ header "Frontend/CodeGenOptions.h"
+ textual header "Frontend/CodeGenOptions.def"
+ export *
+}
+
module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
OpenPOWER on IntegriCloud