[cfe-commits] r44173 - /cfe/trunk/Driver/RewriteTest.cpp
Steve Naroff
snaroff at apple.com
Thu Nov 15 09:06:22 PST 2007
Author: snaroff
Date: Thu Nov 15 11:06:21 2007
New Revision: 44173
URL: http://llvm.org/viewvc/llvm-project?rev=44173&view=rev
Log:
No need to forward declare definition of objc_super...
Modified:
cfe/trunk/Driver/RewriteTest.cpp
Modified: cfe/trunk/Driver/RewriteTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteTest.cpp?rev=44173&r1=44172&r2=44173&view=diff
==============================================================================
--- cfe/trunk/Driver/RewriteTest.cpp (original)
+++ cfe/trunk/Driver/RewriteTest.cpp Thu Nov 15 11:06:21 2007
@@ -70,10 +70,9 @@
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"
More information about the cfe-commits
mailing list