[clang] [clang] Implement P2582R1: CTAD from inherited constructors (PR #98788)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 13:13:57 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();
----------------
hokein wrote:
nit: can we move this chunk of code right after the statement on Line 1727?
https://github.com/llvm/llvm-project/pull/98788
More information about the cfe-commits
mailing list