aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-07-15 23:22:45 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-07-15 23:22:45 +0000
commit7b6248766dda6eb4c410d58db25a8dd2824f78cc (patch)
tree19f0cbe908399bc6ee95279410dbd17693ac0f94 /lib
parent560de45ccbf21c5e4dbeef3fc49f932e499cc181 (diff)
#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
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/DeclPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
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<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 {