[PATCH] D71026: Fix LLVM_ENABLE_MODULES=ON + BUILD_SHARED_LIBS=ON build

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 09:51:35 PST 2019


arichardson created this revision.
arichardson added reviewers: EricWF, rsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Using the same approach as d0782a69ff4c04dc4f1dc1c11cb2fb43c6b638f5 and
91cef98d2c41eff0dea474a760d2dce5ba873209.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71026

Files:
  clang/include/clang/module.modulemap


Index: clang/include/clang/module.modulemap
===================================================================
--- clang/include/clang/module.modulemap
+++ clang/include/clang/module.modulemap
@@ -148,6 +148,11 @@
   // importing the AST matchers library gives a link dependency on the AST
   // matchers (and thus the AST), which clang-format should not have.
   exclude header "Tooling/RefactoringCallbacks.h"
+  exclude header "Tooling/Transformer/MatchConsumer.h"
+  exclude header "Tooling/Transformer/RewriteRule.h"
+  exclude header "Tooling/Transformer/RangeSelector.h"
+  exclude header "Tooling/Transformer/Stencil.h"
+  exclude header "Tooling/Transformer/Transformer.h"
 }
 
 module Clang_ToolingCore {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71026.232166.patch
Type: text/x-patch
Size: 716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191204/505443ad/attachment.bin>


More information about the cfe-commits mailing list