From: Fariborz Jahanian Date: Wed, 15 Jul 2009 23:22:45 +0000 (+0000) Subject: #ifdef'ed out -ast-print of destructors which caused X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b6248766dda6eb4c410d58db25a8dd2824f78cc;p=clang #ifdef'ed out -ast-print of destructors which caused a test failure, until figuring out what caused the failure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75855 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(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 {