summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclPrinter.cpp
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
commit24d2383a1979dc2365a601dad810b22124a568d2 (patch)
tree08c3cd64f0e42ddfc2ba2c0e9fac291aeb66e094 /clang/lib/AST/DeclPrinter.cpp
parent15c3e71e6f7507aec4a1cec3876bb218bc63cd00 (diff)
downloadbcm5719-llvm-24d2383a1979dc2365a601dad810b22124a568d2.tar.gz
bcm5719-llvm-24d2383a1979dc2365a601dad810b22124a568d2.zip
#ifdef'ed out -ast-print of destructors which caused
a test failure, until figuring out what caused the failure. llvm-svn: 75855
Diffstat (limited to 'clang/lib/AST/DeclPrinter.cpp')
-rw-r--r--clang/lib/AST/DeclPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclPrinter.cpp b/clang/lib/AST/DeclPrinter.cpp
index 84ae72977e6..3a8261f82c4 100644
--- a/clang/lib/AST/DeclPrinter.cpp
+++ b/clang/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 {
OpenPOWER on IntegriCloud