#ifdef'ed out -ast-print of destructors which caused

a test failure, until figuring out what caused the failure.

llvm-svn: 75855
This commit is contained in:
Fariborz Jahanian 2009-07-15 23:22:45 +00:00
parent 15c3e71e6f
commit 24d2383a19
1 changed files with 2 additions and 0 deletions

View File

@ -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 {