[cfe-commits] r147649 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/CXX/basic/basic.link/p9.cpp test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp test/SemaCXX/condition.cpp test/SemaCXX/decl-expr-ambiguity.cpp

Chandler Carruth chandlerc at google.com
Fri Jan 6 11:20:10 PST 2012


On Fri, Jan 6, 2012 at 11:00 AM, Chris Lattner <clattner at apple.com> wrote:

>
> On Jan 5, 2012, at 6:30 PM, Richard Smith wrote:
>
> > Author: rsmith
> > Date: Thu Jan  5 20:30:50 2012
> > New Revision: 147649
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=147649&view=rev
> > Log:
> > David Blaikie and Chandler would like us to diagnose
> >
> >  int f();
> >
> > in function scopes under -Wvexing-parse, so now we do.
>
> Does this also warn for "extern int f()"?
>

It shouldn't? That was specifically the idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120106/5bc41ea4/attachment.html>


More information about the cfe-commits mailing list