diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-09-25 22:32:51 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-09-25 22:32:51 +0000 |
commit | 2fd6956fd3020cdaf7452ee68435376125c60355 (patch) | |
tree | 86e1af961a503239a497bea7babbc3d11171eda5 /lib/Driver/OptTable.cpp | |
parent | 80ecf5e66738a7058da58489ca55200212f3d42c (diff) |
Rename CanFitInto64Bits to alwaysFitsInto64Bits per discussion on IRC.
This makes the behavior clearer concerning literals with the maximum
number of digits. For a 32-bit example, 4,000,000,000 is a valid uint32_t,
but 5,000,000,000 is not, so we'd have to count 10-digit decimal numbers
as "unsafe" (meaning we have to check for overflow when parsing them,
just as we would for numbers with 11 digits or higher). This is the same,
only with 64 bits to play with.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/OptTable.cpp')
0 files changed, 0 insertions, 0 deletions