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
This commit is contained in:
NAKAMURA Takumi 2017-10-12 06:39:44 +00:00
parent b49b015bed
commit c6cc58a549
1 changed files with 8 additions and 1 deletions

View File

@ -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 * } }