[cfe-commits] {PATCH] Apply calling conventions to function types

John McCall rjmccall at apple.com
Thu Feb 4 00:57:02 PST 2010


On Feb 3, 2010, at 9:55 AM, Charles Davis wrote:
> My last patch allows function types to hold a calling convention. This
> patch has Sema actually apply them if a calling-convention attribute is
> present.
> 
> It also fixes some issues with the last patch:
> - Calling conventions are now printed in the TypePrinter.
> - The calling convention is now factored into the FoldingSetNode ID.
> 
> This is an updated version of the patch I sent to cfe-dev. This one
> passes all the tests, including some new tests I added to
> Sema/callingconv.c. It also does not assert, unlike the last one :).
> 
> I'm more confident about this one, but it still seems like it could use
> some improvement. Comments are welcome.

Committed as r95291.  Thanks!

John.



More information about the cfe-commits mailing list