[clang] [clang] fix member specializations of class and variable partial specializations (PR #200092)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu May 28 00:37:59 PDT 2026
================
@@ -3957,8 +3956,8 @@ static ActionResult<CXXRecordDecl *> getPatternForClassTemplateSpecialization(
// 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:
Ditto
https://github.com/llvm/llvm-project/pull/200092
More information about the cfe-commits
mailing list