[cfe-commits] r140777 - in /cfe/trunk: lib/Sema/SemaChecking.cpp test/Sema/format-strings.c

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Sep 29 09:40:07 PDT 2011


On Sep 28, 2011, at 10:52 PM, Ted Kremenek wrote:

> Author: kremenek
> Date: Thu Sep 29 00:52:16 2011
> New Revision: 140777
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=140777&view=rev
> Log:
> Do not warn about empty format strings when there are no data arguments.  Fixes <rdar://problem/9473155>.
> 
> Modified:
>    cfe/trunk/lib/Sema/SemaChecking.cpp
>    cfe/trunk/test/Sema/format-strings.c

Hi Ted,

This probably broke gcc-4_2-testsuite/src/gcc.dg/format/c90-printf-1.c and c90-scanf-1.c

The test last passed at r140726 and started failing at r140780, so it could also be Doug or Daniel.

Please check.

/jakob




More information about the cfe-commits mailing list