aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR/Instructions.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-07 20:56:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-07 20:56:18 +0000
commit87d212095feced42295c2a5813f1ce577d01d44f (patch)
tree6b91e935b5b1148e36a37deb07f1d4b2b21abc5f /include/llvm/IR/Instructions.h
parent4e4cc7dae8d2b2f8a07c38f4d61e0b94b13d008b (diff)
downloadexternal_llvm-87d212095feced42295c2a5813f1ce577d01d44f.zip
external_llvm-87d212095feced42295c2a5813f1ce577d01d44f.tar.gz
external_llvm-87d212095feced42295c2a5813f1ce577d01d44f.tar.bz2
Fix tautological compare. Not sure why this didn't trigger any test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Instructions.h')
-rw-r--r--include/llvm/IR/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h
index 57b0d89..7e29699 100644
--- a/include/llvm/IR/Instructions.h
+++ b/include/llvm/IR/Instructions.h
@@ -2758,7 +2758,7 @@ public:
return *this;
}
- if (Index != -1UL)
+ if (Index != -1U)
--SubsetIt;
return *this;