No need to forward declare definition of objc_super...

llvm-svn: 44173
This commit is contained in:
Steve Naroff 2007-11-15 17:06:21 +00:00
parent e3ffc2f4a9
commit c8fcbe09d0
1 changed files with 1 additions and 2 deletions

View File

@ -70,10 +70,9 @@ 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;\n"
const char *s = "struct objc_selector; struct objc_class; struct objc_super;\n"
"extern struct objc_object *objc_msgSend"
"(struct objc_object *, struct objc_selector *, ...);\n"
"struct objc_super { struct objc_object *receiver; struct objc_class *super; };\n"
"extern struct objc_object *objc_msgSendSuper"
"(struct objc_super *, struct objc_selector *, ...);\n"
"extern struct objc_object *objc_getClass"