================
@@ -4703,8 +4699,8 @@ Sema::CheckVarTemplateId(VarTemplateDecl *Template,
SourceLocation TemplateLoc,
// given (implicit) specialization of the enclosing class template, the
// primary member template and its other partial specializations are
still
// considered for this specialization of the enclosing class template.
- if (Template->getMostRecentDecl()->isMemberSpecialization() &&
- !Partial->getMostRecentDecl()->isMemberSpecialization())
+ if (Template->isMemberSpecialization() &&
+ !Partial->isMemberSpecialization())
----------------
cor3ntin wrote:
Can you explain that change? It seems unrelated?
https://github.com/llvm/llvm-project/pull/200092
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits