[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(); }

llvm-svn: 216987
This commit is contained in:
Hal Finkel 2014-09-02 22:36:58 +00:00
parent af2b7dc522
commit 42b7e01f7c
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ private:
return Link;
}
bool inbounds(StratifiedIndex N) const { return N >= 0 && N < Links.size(); }
bool inbounds(StratifiedIndex N) const { return N < Links.size(); }
};
}
#endif // LLVM_ADT_STRATIFIEDSETS_H