[clang] [AST] Print the "aggregate" for aggregate deduction guide decl. (PR #84018)
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 27 07:35:10 PDT 2024
================
@@ -1990,6 +1990,18 @@ void TextNodeDumper::VisitFunctionDecl(const FunctionDecl *D) {
}
}
+void TextNodeDumper::VisitCXXDeductionGuideDecl(const CXXDeductionGuideDecl *D) {
+ VisitFunctionDecl(D);
+ switch (D->getDeductionCandidateKind()) {
+ case DeductionCandidate::Normal:
+ case DeductionCandidate::Copy:
----------------
sam-mccall wrote:
while here, I think adding "copy" might also make sense?
(not sure, i'm not immersed in CTAD stuff, so up to you)
https://github.com/llvm/llvm-project/pull/84018
More information about the cfe-commits
mailing list