diff --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap --- a/clang/include/clang/module.modulemap +++ b/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 {