================
@@ -112,7 +112,7 @@ std::string getDeclComment(const ASTContext &Ctx, const
NamedDecl &Decl) {
std::string Doc;
if (Cfg.Documentation.CommentFormat == Config::CommentFormatPolicy::Doxygen
&&
- isa<ParmVarDecl>(Decl)) {
+ (isa<ParmVarDecl>(Decl) || isa<TemplateTypeParmDecl>(Decl))) {
----------------
zwuis wrote:
`isa<Decl1, Decl2>(Decl)`
https://github.com/llvm/llvm-project/pull/152918
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits