aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteObjC.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-05-09 21:17:56 +0000
committerSteve Naroff <snaroff@apple.com>2008-05-09 21:17:56 +0000
commit580ca7859330f8c92a66b09c21399ed9efa3991e (patch)
tree3bd6a48cd4bef8fe14b62c8d2cea57ca3cf16c3d /Driver/RewriteObjC.cpp
parent0c7e8058deab0516923bcc070ae49b35e005b8e0 (diff)
Fix <rdar://problem/5924225> clang ObjC rewriter: objc_exception_throw declaration in preamble does not match objc/objc-exception.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteObjC.cpp')
-rw-r--r--Driver/RewriteObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/RewriteObjC.cpp b/Driver/RewriteObjC.cpp
index 5473e28499..cf715d0cdc 100644
--- a/Driver/RewriteObjC.cpp
+++ b/Driver/RewriteObjC.cpp
@@ -328,7 +328,7 @@ void RewriteObjC::Initialize(ASTContext &context) {
Preamble += "__OBJC_RW_EXTERN void objc_exception_try_exit(void *);\n";
Preamble += "__OBJC_RW_EXTERN struct objc_object *objc_exception_extract(void *);\n";
Preamble += "__OBJC_RW_EXTERN int objc_exception_match";
- Preamble += "(struct objc_class *, struct objc_object *, ...);\n";
+ Preamble += "(struct objc_class *, struct objc_object *);\n";
Preamble += "__OBJC_RW_EXTERN Protocol *objc_getProtocol(const char *);\n";
if (LangOpts.Microsoft)
Preamble += "#undef __OBJC_RW_EXTERN\n";