[clang] [clang] Implement P2582R1: CTAD from inherited constructors (PR #98788)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 23 21:12:01 PDT 2024
================
@@ -1388,6 +1695,33 @@ void Sema::DeclareImplicitDeductionGuides(TemplateDecl *Template,
if (!AddedAny)
Transform.buildSimpleDeductionGuide(std::nullopt);
+ // FIXME: Handle explicit deduction guides from inherited constructors
+ // when the base deduction guides are declared after this has first run
+ CXXRecordDecl *TemplatedDecl = Pattern->getTemplatedDecl();
----------------
antangelo wrote:
Done
https://github.com/llvm/llvm-project/pull/98788
More information about the cfe-commits
mailing list