summaryrefslogtreecommitdiffstats
path: root/include/clang/module.modulemap
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-14 01:08:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-14 01:08:08 +0000
commitfae558debab1a30bfef98e36e2d0fdbf997210ba (patch)
treefd07d1a5af588bfd2a531d1b14f27941cefc5c89 /include/clang/module.modulemap
parent560b361a406f10fcddd36007ce5ae6ded3558ded (diff)
[modules] Work around PR23521 to fix -O0 modules bootstrap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r--include/clang/module.modulemap9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap
index 196a1fd3c0..6b77adb002 100644
--- a/include/clang/module.modulemap
+++ b/include/clang/module.modulemap
@@ -120,4 +120,11 @@ module Clang_StaticAnalyzer_Frontend {
module * { export * }
}
-module Clang_Tooling { requires cplusplus umbrella "Tooling" module * { export * } }
+module Clang_Tooling {
+ requires cplusplus umbrella "Tooling" module * { export * }
+ // FIXME: Exclude this header to avoid pulling all of the AST matchers
+ // library into clang-format. Due to inline key functions in the headers,
+ // 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"
+}