[cfe-commits] r100890 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/FixIt/fixit.c test/Sema/exprs.c

Chris Lattner clattner at apple.com
Fri Apr 9 13:38:01 PDT 2010


On Apr 9, 2010, at 1:26 PM, Ted Kremenek wrote:

> Author: kremenek
> Date: Fri Apr  9 15:26:53 2010
> New Revision: 100890
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=100890&view=rev
> Log:
> Remove fixit for string literal comparison.  Telling the user to use 'strcmp' is bad, and
> we don't have enough information to tell them how to use 'strncmp'.  Instead, change the
> diagnostic to indicate they should use 'strncmp'.

Lame.

-Chris





More information about the cfe-commits mailing list