[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:04:04 PDT 2009
On Tue, Apr 7, 2009 at 7:56 PM, Anders Carlsson <andersca at mac.com> wrote:
> // Cast the function pointer to the right type.
> const llvm::Type *BlockFTy =
> - CGM.getTypes().GetFunctionType(FnInfo, IsVariadic);
> + CGM.getTypes().GetFunctionType(FnInfo, false);
Should Sema be returning an error for "int (^a)(int x,...) = ^(int
x,...) { return x; };"?
-Eli
More information about the cfe-commits
mailing list