diff options
author | Steve Naroff <snaroff@apple.com> | 2008-05-09 21:17:56 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-05-09 21:17:56 +0000 |
commit | d30f8c5b54ac0e7b2b2e54b3f55c4fc310814a6b (patch) | |
tree | 76a0c6dbcef94c310f4ceb010d8c9f0e91386b53 | |
parent | 530c3f9403c76660dc0b72bbfc5c9eae7b5e2182 (diff) | |
download | llvm-d30f8c5b54ac0e7b2b2e54b3f55c4fc310814a6b.zip llvm-d30f8c5b54ac0e7b2b2e54b3f55c4fc310814a6b.tar.gz llvm-d30f8c5b54ac0e7b2b2e54b3f55c4fc310814a6b.tar.bz2 |
Fix <rdar://problem/5924225> clang ObjC rewriter: objc_exception_throw declaration in preamble does not match objc/objc-exception.h.
llvm-svn: 50915
-rw-r--r-- | clang/Driver/RewriteObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/RewriteObjC.cpp b/clang/Driver/RewriteObjC.cpp index 5473e28..cf715d0c 100644 --- a/clang/Driver/RewriteObjC.cpp +++ b/clang/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"; |