[cfe-commits] r66308 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/SemaDecl.cpp test/Sema/struct-decl.c
Douglas Gregor
dgregor at apple.com
Sat Mar 7 07:21:22 PST 2009
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.
- Doug
More information about the cfe-commits
mailing list