loladiro added inline comments.
================ Comment at: lib/AST/DeclCXX.cpp:1349-1354 + while (!CTD->isMemberSpecialization()) { + auto *NewCTD = CTD->getInstantiatedFromMemberTemplate(); + if (!NewCTD) break; CTD = NewCTD; } ---------------- rsmith wrote: > The same bug exists in `VarDecl::getTemplateInstantiationPattern`; can you > fix it there too? Do you have a test case that shows a problem with the current definition of that function? Would like to include it if possible. I tried cooking one up, but wasn't particularly successful. Repository: rL LLVM https://reviews.llvm.org/D13419 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits