commit | ece9b23b5453aaaa4273af66b442a92ecd8bf665 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Thu Dec 14 22:07:03 2017 +0000 |
committer | Zachary Turner <zturner@google.com> | Thu Dec 14 22:07:03 2017 +0000 |
tree | 36759dfde55d19b4629e4a7f622639bce8bbc7fc | |
parent | 7034870f30320d6fbc74effff539d946018cd00a [diff] |
Fix many -Wsign-compare and -Wtautological-constant-compare warnings. Most of the -Wsign-compare warnings are due to the fact that enums are signed by default in the MS ABI, while the tautological comparison warnings trigger on x86 builds where sizeof(size_t) is 4 bytes, so N > numeric_limits<unsigned>::max() is always false. Differential Revision: https://reviews.llvm.org/D41256 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320750 91177308-0d34-0410-b5e6-96231b3b80d8