From c767e40f47eaf1db6b52d8f21fe97c0f8f59ef45 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 llvm-svn: 348100 --- clang/include/clang/AST/CommentVisitor.h | 29 +++++++++++++----------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/clang/include/clang/AST/CommentVisitor.h b/clang/include/clang/AST/CommentVisitor.h index d1cc2d0a4e5e..5845e4fb51d5 100644 --- a/clang/include/clang/AST/CommentVisitor.h +++ b/clang/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