[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

Chris Lattner clattner at apple.com
Fri Jan 6 11:00:19 PST 2012


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()"?

-Chris




More information about the cfe-commits mailing list