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

David Blaikie <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from David Blaikie <[email protected]> ---
scratch.cpp:3:14: warning: comparison of constant -1 with expression of type
'bool' is always false
      [-Wtautological-constant-out-of-range-compare]
    return v == -1;
           ~ ^  ~~

scratch.cpp:8:15: warning: comparison of constant -1 with expression of type
'bool' is always false
      [-Wtautological-constant-out-of-range-compare]
    return !p == -1; // evil half-refactoring ...
           ~~ ^  ~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to