summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2018-10-09 08:24:18 +0000
committerStephen Kelly <steveire@gmail.com>2018-10-09 08:24:18 +0000
commitd301dc18e738de7be2676aab837fb96d6eeb556b (patch)
treeff6738f5c5c75114a31a0ce918a644246c2ee863 /docs/tools
parentbf0ad5b11a4c15740e8458c5186e590e87019bfd (diff)
downloadclang-d301dc18e738de7be2676aab837fb96d6eeb556b.tar.gz
Remove non-existant typeloc matchers from documentation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rwxr-xr-xdocs/tools/dump_ast_matchers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tools/dump_ast_matchers.py b/docs/tools/dump_ast_matchers.py
index d38977548f..a8958fade3 100755
--- a/docs/tools/dump_ast_matchers.py
+++ b/docs/tools/dump_ast_matchers.py
@@ -181,9 +181,9 @@ def act_on_decl(declaration, comment, allowed_types):
raise Exception('Inconsistent documentation for: %s' % name)
for result_type in result_types:
add_matcher(result_type, name, 'Matcher<Type>', comment)
- if loc:
- add_matcher('%sLoc' % result_type, '%sLoc' % name, 'Matcher<TypeLoc>',
- comment)
+ # if loc:
+ # add_matcher('%sLoc' % result_type, '%sLoc' % name, 'Matcher<TypeLoc>',
+ # comment)
return
m = re.match(r"""^\s*AST_POLYMORPHIC_MATCHER(_P)?(.?)(?:_OVERLOAD)?\(