[clang] [clang] fix matching constrained out-of-line definitions of class specialization member function templates (PR #192806)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 19 13:34:42 PDT 2026


================
@@ -346,58 +346,56 @@ Response HandleFunction(Sema &SemaRef, const FunctionDecl *Function,
 Response HandleFunctionTemplateDecl(Sema &SemaRef,
                                     const FunctionTemplateDecl *FTD,
                                     MultiLevelTemplateArgumentList &Result) {
-  if (!isa<ClassTemplateSpecializationDecl>(FTD->getDeclContext())) {
----------------
cor3ntin wrote:

The ctad thing?

https://github.com/llvm/llvm-project/pull/192806


More information about the cfe-commits mailing list