efriedma-quic wrote:

I think the relevant code that prevents visiting template instantiations is 
CursorVisitor::VisitClassTemplateSpecializationDecl.  It intentionally skips 
implicit template instantiations, I guess because of the origin of the API, 
which was focused around code written by the user.

> * methods()

It might be a little weird to see uninstantiated methods in some cases... but 
this probably makes sense.

> * fields()

get_fields() already exists.

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

Reply via email to