[clang] [Clang][Sema] Improve support for explicit specializations of constrained member functions & member function templates (PR #88963)
Qizhi Hu via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 02:58:39 PDT 2024
================
@@ -275,6 +275,13 @@ Response HandleFunction(Sema &SemaRef, const FunctionDecl *Function,
TemplateArgs->asArray(),
/*Final=*/false);
+ if (RelativeToPrimary &&
+ (Function->getTemplateSpecializationKind() ==
+ TSK_ExplicitSpecialization ||
----------------
jcsxky wrote:
@sdkrystian but gcc fails on the testcase you provided.
https://github.com/llvm/llvm-project/pull/88963
More information about the cfe-commits
mailing list