aboutsummaryrefslogtreecommitdiff
path: root/clang/include
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-01-15 20:41:37 +0000
committerStephen Kelly <steveire@gmail.com>2019-01-15 20:41:37 +0000
commitfbf424e10170c65a899d2acee702b27770d91601 (patch)
tree455093f147d44bfbdf38c03d5b4efa117481edd5 /clang/include
parent7e6602110b89c066aabeb47445f17f557974eaef (diff)
Implement BlockDecl::Capture dump in terms of visitors
Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56709 llvm-svn: 351239
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/AST/TextNodeDumper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/AST/TextNodeDumper.h b/clang/include/clang/AST/TextNodeDumper.h
index 63200284471e..794066376300 100644
--- a/clang/include/clang/AST/TextNodeDumper.h
+++ b/clang/include/clang/AST/TextNodeDumper.h
@@ -171,6 +171,8 @@ public:
void Visit(const OMPClause *C);
+ void Visit(const BlockDecl::Capture &C);
+
void dumpPointer(const void *Ptr);
void dumpLocation(SourceLocation Loc);
void dumpSourceRange(SourceRange R);