[LLVMbugs] [Bug 17565] Warn on conditions made trivially true due to string constant to bool conversion

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 24 17:12:36 PST 2014


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

rtrieu at google.com changed:

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

--- Comment #2 from rtrieu at google.com ---
r200056 makes -Wstring-conversion warn on:

assert(cond != 0 || "Cond shouldn't be zero!");

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140125/4429f7af/attachment.html>


More information about the llvm-bugs mailing list