commit | 8f50b24c8b17368f68c2e71240d487dde53f6da8 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Fri Nov 16 01:32:40 2012 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Fri Nov 16 01:32:40 2012 +0000 |
tree | 84e635c1abb8d399a11e512e4ebf8eee7a484ad3 | |
parent | 0bbf1c668e8cb1a3e5b1385c2fd5cd6c73f481c0 [diff] |
Take into account the zero sign bit for positive numbers when computing the bit width of an enum with negative values in IntRange. Include a test for -Wtautological-constant-out-of-range-compare where this had manifested. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168126 91177308-0d34-0410-b5e6-96231b3b80d8