[cfe-commits] r61127 - in /cfe/trunk: include/clang/AST/Decl.h include/clang/Basic/DiagnosticKinds.def lib/Sema/SemaDecl.cpp test/CodeGen/rdr-6140807-alias-references-forward.c test/Parser/recovery.c test/Sema/c89.c test/Sema/function.c test/Sema/redefinition.c

Chris Lattner clattner at apple.com
Wed Dec 17 09:49:15 PST 2008


On Dec 17, 2008, at 9:34 AM, Mike Stump wrote:

> On Dec 16, 2008, at 11:33 PM, Chris Lattner wrote:
>> diagnose C99 6.9.1p5, C arguments in definitions that are lacking
>> a name.  This implements PR3208.
>
> I wish the c1x people would add this into their language...  I think
> that by default we should allow name omission and relegate this to -
> pedantic-errors.

I don't see a good reason to be more loose than GCC.  If you have an  
issue with this constraint, please take it up with the C committee.

-Chris




More information about the cfe-commits mailing list