From f609a1db585a218a480c1b68d38a56beaa10cdd2 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 26 Feb 2015 01:11:08 +0000 Subject: [PATCH] Split StaticAnalyzer module into three to fix a cyclic dependency. Dependencies are now: FrontendTool -> StaticAnalyzer/Frontend -> Frontend -> StaticAnalyzer/Core The final dependency edge here is probably removable: AnalyzerOptions (and Analyses.def) should probably live in Basic rather than StaticAnalyzer/Core. llvm-svn: 230600 --- clang/include/clang/module.modulemap | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap index 7410c5cd0573..29fa008448e1 100644 --- a/clang/include/clang/module.modulemap +++ b/clang/include/clang/module.modulemap @@ -98,13 +98,25 @@ module Clang_Rewrite { requires cplusplus umbrella "Rewrite" module * { export * module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } } module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } } -module Clang_StaticAnalyzer { +module Clang_StaticAnalyzer_Core { requires cplusplus - umbrella "StaticAnalyzer" + umbrella "StaticAnalyzer/Core" textual header "StaticAnalyzer/Core/Analyses.def" module * { export * } } +module Clang_StaticAnalyzer_Checkers { + requires cplusplus + umbrella "StaticAnalyzer/Checkers" + module * { export * } +} + +module Clang_StaticAnalyzer_Frontend { + requires cplusplus + umbrella "StaticAnalyzer/Frontend" + module * { export * } +} + module Clang_Tooling { requires cplusplus umbrella "Tooling" module * { export * } }