[clang] [clang] fix matching constrained out-of-line definitions of class specialization member function templates (PR #192806)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 13:36:03 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())) {
----------------
mizvekov wrote:
Yeah look for the changes on `clang/lib/Sema/SemaTemplateDeductionGuide.cpp`, the pre-existing implementation there was relying on this bug.
https://github.com/llvm/llvm-project/pull/192806
More information about the cfe-commits
mailing list