[cfe-commits] r62703 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
David Chisnall
csdavec at swansea.ac.uk
Wed Jan 21 16:21:11 PST 2009
On 21 Jan 2009, at 19:38, Chris Lattner wrote:
>
> On Jan 21, 2009, at 11:22 AM, Daniel Dunbar wrote:
>
>> codegen-gnu.m is failing on Darwin as of this commit, I believe.
>
> Thanks, I reverted the patch. The type of selector was 'opaque' not
> a struct.
The type of the selector will only be opaque if you have not included
the objc header - I thought we were okay with requiring this, since
all Objective-C programs do. Apparently not though, since this test
doesn't include it. I've updated the diff to provide a special case
for when the SEL type is an opaque pointer. Any type other than this
and a structure should be caught by Sema before it gets this far.
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: application/octet-stream
Size: 4915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090122/60ac474d/attachment.obj>
-------------- next part --------------
More information about the cfe-commits
mailing list