|
@@ -565,6 +565,8 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) {
|
|
Out << " = 0";
|
|
Out << " = 0";
|
|
else if (D->isDeletedAsWritten())
|
|
else if (D->isDeletedAsWritten())
|
|
Out << " = delete";
|
|
Out << " = delete";
|
|
|
|
+ else if (D->isExplicitlyDefaulted())
|
|
|
|
+ Out << " = default";
|
|
else if (D->doesThisDeclarationHaveABody() && !Policy.TerseOutput) {
|
|
else if (D->doesThisDeclarationHaveABody() && !Policy.TerseOutput) {
|
|
if (!D->hasPrototype() && D->getNumParams()) {
|
|
if (!D->hasPrototype() && D->getNumParams()) {
|
|
// This is a K&R function definition, so we need to print the
|
|
// This is a K&R function definition, so we need to print the
|