diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-01 21:12:44 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-01 21:12:44 +0000 |
commit | b210bd0404f84b99259c9987d347a44d3c202238 (patch) | |
tree | bc50b0a7a1b9aef32a527e5f1c5bca7ab0381131 /AST/StmtPrinter.cpp | |
parent | 88a981b47c7face1b1fdaa9074256245107b9ca9 (diff) |
Bunch of class declarations for objective-c's @try-catch statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'AST/StmtPrinter.cpp')
-rw-r--r-- | AST/StmtPrinter.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/AST/StmtPrinter.cpp b/AST/StmtPrinter.cpp index ac6da0638d..0953891fdb 100644 --- a/AST/StmtPrinter.cpp +++ b/AST/StmtPrinter.cpp @@ -321,6 +321,18 @@ void StmtPrinter::VisitAsmStmt(AsmStmt *Node) { Indent() << "asm (/*todo*/);\n"; } +void StmtPrinter::VisitObjcAtTryStmt(ObjcAtTryStmt *Node) { + Indent() << "@try { /* todo */ }\n"; +} + +void StmtPrinter::VisitObjcAtFinallyStmt(ObjcAtFinallyStmt *Node) { + Indent() << "@finally { /* todo */ } \n"; +} + +void StmtPrinter::VisitObjcAtCatchStmt (ObjcAtCatchStmt *Node) { + Indent() << "@catch (...) { /* todo */ } \n"; +} + //===----------------------------------------------------------------------===// // Expr printing methods. //===----------------------------------------------------------------------===// |