aboutsummaryrefslogtreecommitdiff
path: root/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2007-11-01 21:12:44 +0000
committerFariborz Jahanian <fjahanian@apple.com>2007-11-01 21:12:44 +0000
commitb210bd0404f84b99259c9987d347a44d3c202238 (patch)
treebc50b0a7a1b9aef32a527e5f1c5bca7ab0381131 /AST/StmtPrinter.cpp
parent88a981b47c7face1b1fdaa9074256245107b9ca9 (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.cpp12
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.
//===----------------------------------------------------------------------===//