[clang] [clang] CTAD: fix the aggregate deduction guide for alias templates. (PR #90894)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 02:14:09 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,
----------------
hokein wrote:
I have restructured commits in this PR. It contains two commits: one for the NFC refactoring change, the other one is for the actual fix. I hope it would make the review easier.
https://github.com/llvm/llvm-project/pull/90894
More information about the cfe-commits
mailing list