diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-15 23:22:45 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-15 23:22:45 +0000 |
commit | 24d2383a1979dc2365a601dad810b22124a568d2 (patch) | |
tree | 08c3cd64f0e42ddfc2ba2c0e9fac291aeb66e094 /clang/lib/AST/DeclPrinter.cpp | |
parent | 15c3e71e6f7507aec4a1cec3876bb218bc63cd00 (diff) | |
download | bcm5719-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.cpp | 2 |
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 { |