diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-15 23:39:31 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-15 23:39:31 +0000 |
commit | 30324d68b15a492dfe233613da5fa242c190b1c7 (patch) | |
tree | 1f9283ce1950ddfc4c5513a0bd90f18ce4909884 /clang/lib/AST/DeclPrinter.cpp | |
parent | a385d01caef2440d5f176fab949962aeeb1a6519 (diff) | |
download | bcm5719-llvm-30324d68b15a492dfe233613da5fa242c190b1c7.tar.gz bcm5719-llvm-30324d68b15a492dfe233613da5fa242c190b1c7.zip |
Fixed a stinko which caused an ast-print test failure.
llvm-svn: 75861
Diffstat (limited to 'clang/lib/AST/DeclPrinter.cpp')
-rw-r--r-- | clang/lib/AST/DeclPrinter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclPrinter.cpp b/clang/lib/AST/DeclPrinter.cpp index 3a8261f82c4..84ae72977e6 100644 --- a/clang/lib/AST/DeclPrinter.cpp +++ b/clang/lib/AST/DeclPrinter.cpp @@ -374,7 +374,6 @@ 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 @@ -405,7 +404,6 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) { } } } -#endif else AFT->getResultType().getAsStringInternal(Proto, Policy); } else { |