clang/module.modulemap: Split out Clang_ToolingCore from Clang_Tooling.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 23 Jul 2017 01:40:36 +0000 (01:40 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 23 Jul 2017 01:40:36 +0000 (01:40 +0000)
It cuts clangFormat's dependencies out of;

  Clang_Analysis
  Clang_C
  Clang_Diagnostics
  Clang_Driver
  Clang_Frontend
  Clang_Sema
  Clang_Serialization
  Clang_StaticAnalyzer_Core
  Clang_Tooling -> Clang_ToolingCore

Now, the module Clang_Format depends on;

  Clang_AST
  Clang_Basic
  Clang_ToolingCore

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308832 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/module.modulemap

index 361c009af108c86e79977953c12a35151795b74d..8f4fdf66cf6a85926a6f71bee03b4f5eb28fa9ae 100644 (file)
@@ -139,3 +139,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 * }
+}