Add the definition of objc_super...

llvm-svn: 44588
This commit is contained in:
Steve Naroff 2007-12-04 23:59:30 +00:00
parent e412a4427b
commit 0317aeb4b6

View File

@ -86,7 +86,11 @@ namespace {
Rewrite.setSourceMgr(Context->SourceMgr);
// declaring objc_selector outside the parameter list removes a silly
// scope related warning...
const char *s = "struct objc_selector; struct objc_class; struct objc_super;\n"
const char *s = "struct objc_selector; struct objc_class;\n"
"#ifndef OBJC_SUPER\n"
"struct objc_super { struct objc_object *o; struct objc_object *superClass; };\n"
"#define OBJC_SUPER\n"
"#endif\n"
"extern struct objc_object *objc_msgSend"
"(struct objc_object *, struct objc_selector *, ...);\n"
"extern struct objc_object *objc_msgSendSuper"