forked from OSchip/llvm-project
#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:
parent
15c3e71e6f
commit
24d2383a19
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue