commit | 0934c750ede55626c4ced4b067e27753ae4fee53 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Thu Jul 30 18:26:34 2015 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Thu Jul 30 18:26:34 2015 +0000 |
tree | e93e15197cf54d1d4401ec53424d146800034de8 | |
parent | 36dc080bf6c599b16e1560f6e6848979111b368a [diff] |
Fix PR#24267. use numeric_limits::max instead of ~0 for 'all ones', since that might give wrong answers on a 1's complement machine. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@243674 91177308-0d34-0410-b5e6-96231b3b80d8