On Sat, Feb 28, 2009 at 1:56 PM, Anders Carlsson <[email protected]> wrote:
> Author: andersca
> Date: Sat Feb 28 15:56:50 2009
> New Revision: 65725
>
> URL: http://llvm.org/viewvc/llvm-project?rev=65725&view=rev
> Log:
> Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable 
> will have the right type by the time the initializer is checked. This ensures 
> that code like
>
> int a[(int)(1.0 / 1.0) = { 1 } will work.
>
> Eli, please review.

Looks fine.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to