diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-01-09 09:47:25 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-01-09 09:47:25 +0000 |
| commit | c16622daffcea14e7361f0ba92599adf401ac4ca (patch) | |
| tree | 1659962fb8ec6413e454c4aabe4c9ad9c89e2105 /clang/test/CodeGenObjCXX/mangle-blocks.mm | |
| parent | ea27c16adc72c9b4660debbfd790f0fc96925acc (diff) | |
| download | bcm5719-llvm-c16622daffcea14e7361f0ba92599adf401ac4ca.tar.gz bcm5719-llvm-c16622daffcea14e7361f0ba92599adf401ac4ca.zip | |
Don't rely on the fact that shift values are never very large, and thus
this substraction will result in small negative numbers at worst which
become very large positive numbers on assignment and are thus caught by
the <=4 check on the next line. The >0 check clearly intended to catch
these as negative numbers.
Spotted by inspection, and impossible to trigger given the shift widths
that can be used.
llvm-svn: 147773
Diffstat (limited to 'clang/test/CodeGenObjCXX/mangle-blocks.mm')
0 files changed, 0 insertions, 0 deletions

