diff options
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r-- | include/clang/module.modulemap | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap index d850bd552e1f..4097ad2dc716 100644 --- a/include/clang/module.modulemap +++ b/include/clang/module.modulemap @@ -49,6 +49,7 @@ module Clang_Basic { textual header "Basic/OperatorKinds.def" textual header "Basic/Sanitizers.def" textual header "Basic/TokenKinds.def" + textual header "Basic/X86Target.def" module * { export * } } @@ -69,9 +70,9 @@ module Clang_Diagnostics { module Frontend { header "Frontend/FrontendDiagnostic.h" export * } module Lex { header "Lex/LexDiagnostic.h" export * } module Parse { header "Parse/ParseDiagnostic.h" export * } - // FIXME: This breaks the build of Clang_Sema, for unknown reasons. - //module Sema { header "Sema/SemaDiagnostic.h" export * } + module Sema { header "Sema/SemaDiagnostic.h" export * } module Serialization { header "Serialization/SerializationDiagnostic.h" export * } + module Refactoring { header "Tooling/Refactoring/RefactoringDiagnostic.h" export * } } module Clang_Driver { @@ -90,7 +91,6 @@ module Clang_Frontend { requires cplusplus umbrella "Frontend" - textual header "Frontend/CodeGenOptions.def" textual header "Frontend/LangStandards.def" module * { export * } @@ -99,11 +99,20 @@ 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 * } } module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } } -module Clang_Rewrite { requires cplusplus umbrella "Rewrite" module * { export * } } +module Clang_Rewrite { requires cplusplus umbrella "Rewrite/Core" module * { export * } } +module Clang_RewriteFrontend { requires cplusplus umbrella "Rewrite/Frontend" module * { export * } } module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } } module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } } @@ -139,3 +148,8 @@ module Clang_Tooling { // matchers (and thus the AST), which clang-format should not have. exclude header "Tooling/RefactoringCallbacks.h" } + +module Clang_ToolingCore { + requires cplusplus + umbrella "Tooling/Core" module * { export * } +} |