summaryrefslogtreecommitdiffstats
path: root/include/clang/module.modulemap
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
commit36e4fcd16d2001802fa753ad0c3193341cc9a387 (patch)
treef8ab1e2e11748d9a36deec98b7dfdfdcdffcc086 /include/clang/module.modulemap
parent31035d0847d5d918b83e69183d0cd170d69fa5e2 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r--include/clang/module.modulemap9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap
index 8c9736f236..a09027daeb 100644
--- a/include/clang/module.modulemap
+++ b/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 * } }