[clang] [clang] CTAD: fix the aggregate deduction guide for alias templates. (PR #90894)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 02:40:37 PDT 2024


================
@@ -2803,7 +2803,207 @@ getRHSTemplateDeclAndArgs(Sema &SemaRef, TypeAliasTemplateDecl *AliasTemplate) {
   return {Template, AliasRhsTemplateArgs};
 }
 
-// Build deduction guides for a type alias template.
+// Build deduction guides for a type alias template from the given underlying
+// deduction guide F.
+FunctionTemplateDecl *
+BuildDeductionGuideForTypeAlias(Sema &SemaRef,
----------------
cor3ntin wrote:

to clarify, in the actual fix you removed a whole bunch of code?
https://github.com/llvm/llvm-project/pull/90894/commits/621899224aa7d59ab70675f6ff32b298b06a515a

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


More information about the cfe-commits mailing list