Prazek added a comment.

In https://reviews.llvm.org/D25316#565574, @malcolm.parsons wrote:

> In https://reviews.llvm.org/D25316#565567, @Prazek wrote:
>
> >   functionDecl(hasName(LEXICAL_CAST_NAME))))),
>
>
> I was trying to avoid specifying the name of the function so that it works 
> for any templated function/member function that returns its first template 
> type.


Good idea. I am not sure how it will work when you will run it on big codebase, 
so I wanted to make it configurable for any function name. But if it will work 
for 99% of useful cases, then it will be great!


https://reviews.llvm.org/D25316



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to