[cfe-commits] r70601 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDecl.cpp test/Sema/block-misc.c

Chris Lattner clattner at apple.com
Fri May 1 16:57:11 PDT 2009


On May 1, 2009, at 4:55 PM, Eli Friedman wrote:

> On Fri, May 1, 2009 at 4:41 PM, Mike Stump <mrs at apple.com> wrote:
>> Author: mrs
>> Date: Fri May  1 18:41:47 2009
>> New Revision: 70601
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=70601&view=rev
>> Log:
>> Add Sema checking for __block on vm declarations.  Radar 6441502
>
> Is there something fundamentally wrong with __block on a vm
> declaration?  Or do you just not want to bother implementing it?

__block variables are designed to be copyable onto the heap.  VLAs are  
"hard" to copy onto the heap, I don't think our runtime interface  
supports them.

-Chris



More information about the cfe-commits mailing list