summaryrefslogtreecommitdiffstats
path: root/clang/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
commit7b79fb45cacebf66676f16ea94bd71b5d909f1b7 (patch)
tree1cdba830c2707b05001e45e15fd4bde1dfa1808f /clang/docs/tools
parent9b8fa52ff6253a16d71b9f38f46c81dccaaed586 (diff)
downloadbcm5719-llvm-7b79fb45cacebf66676f16ea94bd71b5d909f1b7.tar.gz
bcm5719-llvm-7b79fb45cacebf66676f16ea94bd71b5d909f1b7.zip
Remove non-existant typeloc matchers from documentation
llvm-svn: 344023
Diffstat (limited to 'clang/docs/tools')
-rwxr-xr-xclang/docs/tools/dump_ast_matchers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/docs/tools/dump_ast_matchers.py b/clang/docs/tools/dump_ast_matchers.py
index d38977548fd..a8958fade37 100755
--- a/clang/docs/tools/dump_ast_matchers.py
+++ b/clang/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)?\(
OpenPOWER on IntegriCloud