[cfe-commits] [PATCH] Treat "int (^x)()" as "int (^x)(void)" instead of a K&R style prototype
fjahanian at apple.com
Sun May 31 08:58:52 PDT 2009
For blocks in gcc we followed the rules for function pointers in the
host language wrt to block pointers.
This change will make it more c++-ish and may break some of our
But it is a new feature and it is good to tighten up the rules. So it
On May 31, 2009, at 4:25 AM, Eli Friedman wrote:
> Patch per subject; this seems like the right thing to do, considering
> the spec and the comment for ASTContext::typesAreBlockCompatible.
> Also, the current rules for K&R-style block pointers are simply
> confusing. I'm running it by the list first to make sure this isn't
> likely to break common usages of blocks.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits