From dba72d7618397a71187bd42b6d6861b279454ebb Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 2 Dec 2018 17:30:34 +0000 Subject: [PATCH] Extend the CommentVisitor with parameter types Summary: This has precedent in the StmtVisitor. This change will make it possible to clean up the comment handling in ASTDumper. Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55069 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348100 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/CommentVisitor.h | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/include/clang/AST/CommentVisitor.h b/include/clang/AST/CommentVisitor.h index d1cc2d0a4e..5845e4fb51 100644 --- a/include/clang/AST/CommentVisitor.h +++ b/include/clang/AST/CommentVisitor.h @@ -19,14 +19,16 @@ namespace comments { template struct make_ptr { using type = T *; }; template struct make_const_ptr { using type = const T *; }; -template