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 | 7b6248766dda6eb4c410d58db25a8dd2824f78cc (patch) | |
tree | 19f0cbe908399bc6ee95279410dbd17693ac0f94 | |
parent | 560de45ccbf21c5e4dbeef3fc49f932e499cc181 (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
-rw-r--r-- | lib/AST/DeclPrinter.cpp | 2 |
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 { |