================ @@ -897,7 +897,8 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) { D->getBody()->printPrettyControlled(Out, nullptr, SubPolicy, Indentation, "\n", &Context); } else { - if (!Policy.TerseOutput && isa<CXXConstructorDecl>(*D)) + if (Policy.ForcePrintingAsElaboratedType || ---------------- AaronBallman wrote:
What does forcefully printing an elaborate type have to do with printing out `{}`? https://github.com/llvm/llvm-project/pull/67592 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits