[LLVMbugs] [Bug 3753] clang should warn about comparison with string literal

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Mar 8 12:41:08 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3753


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Chris Lattner <clattner at apple.com>  2009-03-08 14:41:08 ---
Mainline gcc has a similar warning, so I chose wording similar to it (but with
an explicit suggestion to use strcmp, something a newbie may not realize). 
Implemented here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090302/013626.html


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list