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/Stmt.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/Stmt.cpp')
-rw-r--r-- | AST/Stmt.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/AST/Stmt.cpp b/AST/Stmt.cpp index e8ecd0c987..1738f9573b 100644 --- a/AST/Stmt.cpp +++ b/AST/Stmt.cpp @@ -193,3 +193,15 @@ Stmt::child_iterator ReturnStmt::child_end() { Stmt::child_iterator AsmStmt::child_begin() { return child_iterator(); } Stmt::child_iterator AsmStmt::child_end() { return child_iterator(); } +// ObjcAtCatchStmt +Stmt::child_iterator ObjcAtCatchStmt::child_begin() { return &AtCatchStmt; } +Stmt::child_iterator ObjcAtCatchStmt::child_end() { return &AtCatchStmt+1; } + +// ObjcAtFinallyStmt +Stmt::child_iterator ObjcAtFinallyStmt::child_begin() { return &AtFinallyStmt; } +Stmt::child_iterator ObjcAtFinallyStmt::child_end() { return &AtFinallyStmt+1; } + +// ObjcAtTryStmt +Stmt::child_iterator ObjcAtTryStmt::child_begin() { return &SubStmts[0]; } +Stmt::child_iterator ObjcAtTryStmt::child_end() { return &SubStmts[0]+1; } + |