aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/DeclPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp
index 84ae72977e..3a8261f82c 100644
--- a/lib/AST/DeclPrinter.cpp
+++ b/lib/AST/DeclPrinter.cpp
@@ -374,6 +374,7 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) {
}
}
}
+#if 0
else if (CXXDestructorDecl *DDecl = dyn_cast<CXXDestructorDecl>(D)) {
if (DDecl->getNumBaseOrMemberDestructions() > 0) {
// FIXME. This is strictly for visualization of destructor's AST for
@@ -404,6 +405,7 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) {
}
}
}
+#endif
else
AFT->getResultType().getAsStringInternal(Proto, Policy);
} else {