commit | 39f8f159c488a900e5958d5aab3e467af9ec8a2b | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 07 02:00:49 2007 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 07 02:00:49 2007 +0000 |
tree | 5bcfdd83309810aa705ba6afa9f362336f1c260d | |
parent | 159e3300f938ae05c0bf249508714e621cc89de5 [diff] [blame] |
AST for objective-c's @throw statement and its pretty-printing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43802 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Stmt.cpp b/AST/Stmt.cpp index 8e1abda..28681c6 100644 --- a/AST/Stmt.cpp +++ b/AST/Stmt.cpp
@@ -209,3 +209,11 @@ return &SubStmts[0]+END_TRY; } +// ObjcAtThrowStmt +Stmt::child_iterator ObjcAtThrowStmt::child_begin() { + return &Throw; +} + +Stmt::child_iterator ObjcAtThrowStmt::child_end() { + return &Throw+1; +}