commit | 92b670e1ee0b11d7e558ec659795ddf452e583ed | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Mon Feb 27 21:21:40 2012 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Mon Feb 27 21:21:40 2012 +0000 |
tree | da36273fd8126a33be4ae60c2446abbc7d699f5b | |
parent | d45d361f2ce5c37824052357e2218e8a5509eba5 [diff] |
Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151569 91177308-0d34-0410-b5e6-96231b3b80d8