leijurv wrote:

> I think you should add test cases with multiple `>>` closing, see 
> `UnderstandsTemplateParameters` for example.
> 
> Consider trying the code snippet mentioned in #80049 as well.

Thank you for the suggestion! I have integrated that test case. It indicated 
that I was being too narrow - `ClosesTemplateDeclaration` only applies before 
functions, but, as you demonstrate, there are several other cases where 
templates are closed, so I have switched to `TT_TemplateCloser`.

https://github.com/llvm/llvm-project/pull/118046/commits/212e444426a2d194df996909a40ad0e0fc681d98


https://github.com/llvm/llvm-project/pull/118046
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to