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

Joerg Sonnenberger joerg at britannica.bec.de
Thu Sep 29 16:25:34 CDT 2011


On Thu, Sep 29, 2011 at 05:52:21AM -0000, 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>.

Why? The point of the original warning is that the operation is
effectively a nop.

Joerg


More information about the cfe-commits mailing list