Rename CanFitInto64Bits to alwaysFitsInto64Bits per discussion on IRC.
authorJordan Rose <jordan_rose@apple.com>
Tue, 25 Sep 2012 22:32:51 +0000 (22:32 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 25 Sep 2012 22:32:51 +0000 (22:32 +0000)
commitde584de370ddfb0f320d143ee521b794f4da2c93
tree75a8d3cbb858d5fe754a36dcd9feca64b10d0890
parentc30eb1c2828f494997b9289c0d1c0e22ef237d56
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.

llvm-svn: 164639
clang/lib/Lex/LiteralSupport.cpp