[cfe-commits] r68583 - in /cfe/trunk: lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGCall.cpp lib/CodeGen/CodeGenTypes.h test/CodeGen/blocks.c

Eli Friedman eli.friedman at gmail.com
Tue Apr 7 20:01:36 PDT 2009


On Tue, Apr 7, 2009 at 7:56 PM, Anders Carlsson <andersca at mac.com> wrote:
> Author: andersca
> Date: Tue Apr  7 21:55:55 2009
> New Revision: 68583
>
> URL: http://llvm.org/viewvc/llvm-project?rev=68583&view=rev
> Log:
> Don't assume that a block always has a FunctionProtoType. Fixes rdar://6768379.

Maybe we should make "int (^a0)()" and "int (^a0)(void)" equivalent?
There's no compatibility reason to keep around functions without
prototypes...

-Eli




More information about the cfe-commits mailing list