From 7b6248766dda6eb4c410d58db25a8dd2824f78cc Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 15 Jul 2009 23:22:45 +0000 Subject: [PATCH] #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 --- lib/AST/DeclPrinter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.50.1