summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-07-25 06:05:50 +0000
committerManuel Klimek <klimek@google.com>2013-07-25 06:05:50 +0000
commitdba64f1affd0c04d9cce9a93330acc7f4c8f84ce (patch)
tree38987743533422aaa615f8d848c5a1ce881c062c /clang/docs/tools
parent17600e29fa8d154f7c1e36d797f21422eebcf249 (diff)
downloadbcm5719-llvm-dba64f1affd0c04d9cce9a93330acc7f4c8f84ce.tar.gz
bcm5719-llvm-dba64f1affd0c04d9cce9a93330acc7f4c8f84ce.zip
Fix incorrect documentation generation for type matchers.
llvm-svn: 187104
Diffstat (limited to 'clang/docs/tools')
-rw-r--r--clang/docs/tools/dump_ast_matchers.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/docs/tools/dump_ast_matchers.py b/clang/docs/tools/dump_ast_matchers.py
index bbf48c7646d..08a7d961ff5 100644
--- a/clang/docs/tools/dump_ast_matchers.py
+++ b/clang/docs/tools/dump_ast_matchers.py
@@ -154,8 +154,10 @@ def act_on_decl(declaration, comment, allowed_types):
inner, name = m.groups()
add_matcher('Type', name, 'Matcher<%s>...' % inner,
comment, is_dyncast=True)
- add_matcher('TypeLoc', '%sLoc' % name, 'Matcher<%sLoc>...' % inner,
- comment, is_dyncast=True)
+ # FIXME: re-enable once we have implemented casting on the TypeLoc
+ # hierarchy.
+ # add_matcher('TypeLoc', '%sLoc' % name, 'Matcher<%sLoc>...' % inner,
+ # comment, is_dyncast=True)
return
m = re.match(""".*AST_TYPE(LOC)?_TRAVERSE_MATCHER\(
OpenPOWER on IntegriCloud