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

Anders Carlsson andersca at mac.com
Tue Apr 7 21:27:26 PDT 2009


7 apr 2009 kl. 20.01 skrev Eli Friedman:

> 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...


Maybe...I'd have to see what llvm-gcc does.

Anders





More information about the cfe-commits mailing list