[llvm] r176652 - Fix tautological compare. Not sure why this didn't trigger any test failures.

Benjamin Kramer benny.kra at googlemail.com
Thu Mar 7 12:56:18 PST 2013


Author: d0k
Date: Thu Mar  7 14:56:18 2013
New Revision: 176652

URL: http://llvm.org/viewvc/llvm-project?rev=176652&view=rev
Log:
Fix tautological compare. Not sure why this didn't trigger any test failures.

Modified:
    llvm/trunk/include/llvm/IR/Instructions.h

Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=176652&r1=176651&r2=176652&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Thu Mar  7 14:56:18 2013
@@ -2758,7 +2758,7 @@ public:
         return *this;
       }
 
-      if (Index != -1UL)
+      if (Index != -1U)
         --SubsetIt;
 
       return *this;





More information about the llvm-commits mailing list