[cfe-commits] r94837 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/Sema.h lib/Sema/SemaChecking.cpp test/Sema/format-strings.c test/SemaObjC/format-strings-objc.m

Ted Kremenek kremenek at apple.com
Fri Jan 29 14:07:00 PST 2010


On Jan 29, 2010, at 1:13 PM, Chris Lattner wrote:

> 
> On Jan 29, 2010, at 12:55 PM, Ted Kremenek wrote:
> 
>> Author: kremenek
>> Date: Fri Jan 29 14:55:36 2010
>> New Revision: 94837
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=94837&view=rev
>> Log:
>> Switch Sema over to using the new implementation of format string
>> checking.  It passes all existing tests, and the diagnostics have been
>> refined to provide better range information (we now highlight
>> individual format specifiers) and more precise wording in the
>> diagnostics.
> 
> Nice!  Can you add a couple examples to:
> http://clang.llvm.org/diagnostics.html
> 
> Thanks,
> 
> -Chris

Sure.  Currently I'm focusing on bringing up the additional printf warnings that GCC does that Clang currently doesn't (e.g., type checking).



More information about the cfe-commits mailing list