[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 11:49:39 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:
Well it did break the CTAD thing that was relying on this.
https://github.com/llvm/llvm-project/pull/192806
More information about the cfe-commits
mailing list