summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCRuntime.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-01-10 19:02:56 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-01-10 19:02:56 +0000
commit1eab052a7fb49194eb9a8d3c545975cccd3a1e1a (patch)
treeabe14fd41ef4c34ae20a6e6834f3008e7450d2df /clang/lib/CodeGen/CGObjCRuntime.h
parentf036f1a630943627e5bcd344ace9d7a7b617154d (diff)
downloadbcm5719-llvm-1eab052a7fb49194eb9a8d3c545975cccd3a1e1a.tar.gz
bcm5719-llvm-1eab052a7fb49194eb9a8d3c545975cccd3a1e1a.zip
objectiveC++: When throwing c++ exception of
an objectiveC object, use objc_exception_throw to raise the exception. // rdar://12605907 llvm-svn: 172091
Diffstat (limited to 'clang/lib/CodeGen/CGObjCRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGObjCRuntime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCRuntime.h b/clang/lib/CodeGen/CGObjCRuntime.h
index 584bf6738f0..cbd255d7ff8 100644
--- a/clang/lib/CodeGen/CGObjCRuntime.h
+++ b/clang/lib/CodeGen/CGObjCRuntime.h
@@ -235,7 +235,8 @@ public:
virtual void EmitTryStmt(CodeGen::CodeGenFunction &CGF,
const ObjCAtTryStmt &S) = 0;
virtual void EmitThrowStmt(CodeGen::CodeGenFunction &CGF,
- const ObjCAtThrowStmt &S) = 0;
+ const ObjCAtThrowStmt &S,
+ bool ClearInsertionPoint=true) = 0;
virtual llvm::Value *EmitObjCWeakRead(CodeGen::CodeGenFunction &CGF,
llvm::Value *AddrWeakObj) = 0;
virtual void EmitObjCWeakAssign(CodeGen::CodeGenFunction &CGF,
OpenPOWER on IntegriCloud