[cfe-commits] r66308 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/SemaDecl.cpp test/Sema/struct-decl.c

Chris Lattner clattner at apple.com
Sat Mar 7 15:08:01 PST 2009


On Mar 7, 2009, at 7:21 AM, Douglas Gregor wrote:

>
> On Mar 7, 2009, at 3:22 AM, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On Mar 6, 2009, at 3:41 PM, Douglas Gregor wrote:
>>
>>> Author: dgregor
>>> Date: Fri Mar  6 17:41:27 2009
>>> New Revision: 66308
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=66308&view=rev
>>> Log:
>>> Downgrade complaints about the use of variable-sized types within a
>>> struct to an extension warning to match the behavior of GNU C, which
>>> addresses the Sema part of PR3671.
>>
>> I'm ok with allowing flexible arrays (int a[]), but we still should  
>> reject VLAs (int a[n]) right?
>
> Yes, and we still do. s/variable length types/structs with flexible  
> arrays.

Great thanks!

-chris



More information about the cfe-commits mailing list