]> granicus.if.org Git - clang/commitdiff
Fix <rdar://problem/5924225> clang ObjC rewriter: objc_exception_throw declaration...
authorSteve Naroff <snaroff@apple.com>
Fri, 9 May 2008 21:17:56 +0000 (21:17 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 9 May 2008 21:17:56 +0000 (21:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50915 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteObjC.cpp

index 5473e28499d13c418dba6b0aa51671c81342d4f1..cf715d0cdcde8d2e0aa73c5fa9cefaca95150ea2 100644 (file)
@@ -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";