[LLVMbugs] [Bug 18691] No -Wtautological-constant-out-of-range-compare warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 3 11:13:50 PST 2014


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

rtrieu at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rtrieu at google.com
         Resolution|---                         |INVALID

--- Comment #1 from rtrieu at google.com ---
-Wtautological-compare and -Wtautological-constant-out-of-range-compare
warnings have been changed to not warn on dead branches of code.  Clang can
tell that the for loop does not exit, so the return statement will never be
evaluated.  This change was made to reduce the number of false positives from
the warning.

-- 
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/20140203/943022e1/attachment.html>


More information about the llvm-bugs mailing list