[PATCH] D24969: [Sema] Use the instantiated name of destructors in FindInstantiatedDecl and RebuildMemberExpr

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 08:48:34 PDT 2016


rsmith added inline comments.


> SemaTemplateInstantiateDecl.cpp:4849
> +      DeclarationName Name = D->getDeclName();
> +      if (auto *DD = dyn_cast<CXXDestructorDecl>(D))
> +        Name =

Do we need to do this for conversion function names too? (Eg, `operator C1<T>*`)

https://reviews.llvm.org/D24969





More information about the cfe-commits mailing list