r308832 - clang/module.modulemap: Split out Clang_ToolingCore from Clang_Tooling.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 22 18:40:36 PDT 2017


Author: chapuni
Date: Sat Jul 22 18:40:36 2017
New Revision: 308832

URL: http://llvm.org/viewvc/llvm-project?rev=308832&view=rev
Log:
clang/module.modulemap: Split out Clang_ToolingCore from Clang_Tooling.

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

Modified:
    cfe/trunk/include/clang/module.modulemap

Modified: cfe/trunk/include/clang/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/module.modulemap?rev=308832&r1=308831&r2=308832&view=diff
==============================================================================
--- cfe/trunk/include/clang/module.modulemap (original)
+++ cfe/trunk/include/clang/module.modulemap Sat Jul 22 18:40:36 2017
@@ -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 * }
+}




More information about the cfe-commits mailing list