]> granicus.if.org Git - clang/commitdiff
#ifdef'ed out -ast-print of destructors which caused
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 15 Jul 2009 23:22:45 +0000 (23:22 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 15 Jul 2009 23:22:45 +0000 (23:22 +0000)
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

index 84ae72977e6e4eb88bd7d949828804187e3bd168..3a8261f82c446df212704274170e52f949109006 100644 (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 {