[patch] Fix pr16247

Rafael Espíndola rafael.espindola at gmail.com
Fri Jun 7 10:44:38 PDT 2013


> This is dicey. Argument type to objc_enumerationMutation is ‘id’ which is
> translated into
> what ‘id’ is typedef’ed to; “struct objc_object*”. If projects have forward
> declaration of
> objc_enumerationMutation in their header files, this will cause conflicting
> types error
> for objc_enumerationMutation.

I see. The attached patch updates the tests to not define id to void* instead.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 5318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130607/68b63298/attachment.obj>


More information about the cfe-commits mailing list