Split StaticAnalyzer module into three to fix a cyclic dependency. Dependencies
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Feb 2015 01:11:08 +0000 (01:11 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Feb 2015 01:11:08 +0000 (01:11 +0000)
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

index 7410c5c..29fa008 100644 (file)
@@ -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 * } }