[cfe-commits] r73041 - in /cfe/trunk: lib/AST/ASTContext.cpp lib/Frontend/RewriteBlocks.cpp lib/Sema/SemaExpr.cpp test/Sema/block-args.c test/Sema/block-call.c test/Sema/block-misc.c test/SemaObjC/blocks.m

Chris Lattner clattner at apple.com
Thu Jun 11 10:56:46 PDT 2009


On Jun 7, 2009, at 9:24 PM, Eli Friedman wrote:

> Author: efriedma
> Date: Sun Jun  7 23:24:21 2009
> New Revision: 73041
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73041&view=rev
> Log:
> Don't allow defining a block with a non-prototype type.  Remove a
> hack which introduces some strange inconsistencies in compatibility
> for block pointers.
>
> Note that unlike an earlier revision proposed on cfe-commits, this  
> patch
> still allows declaring block pointers without a prototype.

Very nice, thanks Eli!

-Chris



More information about the cfe-commits mailing list