ahatanak added inline comments.

> rsmith wrote in SemaTemplateInstantiateDecl.cpp:4849
> Do we need to do this for conversion function names too? (Eg, `operator 
> C1<T>*`)

I added a definition of "operator C1<T>*" and called it in C1::foo1. I didn't 
see any crashes or asserts.

Calls to a destructor and a conversion function create different AST nodes (the 
former creates a MemberExpr and the latter creates a 
CXXDependentScopeMemberExpr) and are transformed by different functions of 
TreeTransform.

https://reviews.llvm.org/D24969



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

Reply via email to