[cfe-dev] Small change to ObjC builtin type definition

Daniel Dunbar daniel at zuster.org
Tue Sep 9 14:04:12 PDT 2008


I would prefer the bitcast be in the runtime interface if it is necessary. It
is nicer for the runtime interface functions to simply be specified as returning
Value's of the correct type. In fact, GetSelector already has this in
its comment.

 - Daniel

> The attached diff fixes a problem with generating code which passes
> @selector() values as arguments.  This is due to the fact that selector type
> from Sema is a packed structure, while CodeGen is using an unpacked one.
>
> David



More information about the cfe-dev mailing list