summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-09 09:47:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-09 09:47:25 +0000
commitc16622daffcea14e7361f0ba92599adf401ac4ca (patch)
tree1659962fb8ec6413e454c4aabe4c9ad9c89e2105 /clang/test
parentea27c16adc72c9b4660debbfd790f0fc96925acc (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud