[CFLAA] Remove tautological comparison
authorHal Finkel <hfinkel@anl.gov>
Tue, 2 Sep 2014 22:36:58 +0000 (22:36 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 2 Sep 2014 22:36:58 +0000 (22:36 +0000)
commit41b6e327f7dedfb9d3020f60f6c6804efeb75b16
tree86d48544afdbb19396a0da91df47d339d35f0572
parent79ec2ed4171b5496f58f28998b85fd46827d22f8
[CFLAA] Remove tautological comparison

Fixes this (the warning is right, the unsigned value is not negative):
lib/Analysis/StratifiedSets.h:689:53: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
  bool inbounds(StratifiedIndex N) const { return N >= 0 && N < Links.size(); }

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216987 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/StratifiedSets.h