[cfe-commits] r82576 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseDecl.cpp test/Sema/function.c

Chris Lattner clattner at apple.com
Tue Sep 22 14:45:22 PDT 2009


On Sep 22, 2009, at 2:41 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Tue Sep 22 16:41:40 2009
> New Revision: 82576
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82576&view=rev
> Log:
> In C++, a variadic function does not need an ellipsis prior to the  
> comma. Parse it in both C and C++, but diagnose it as an error in C  
> with a fix-it hint to add the comma.

Really? Weird.  Ya learn something new every day I guess! :)

-Chris




More information about the cfe-commits mailing list