]> granicus.if.org Git - clang/commit
Optimize NumericLiteralParser::GetIntegerValue().
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 25 Sep 2012 19:09:15 +0000 (19:09 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 25 Sep 2012 19:09:15 +0000 (19:09 +0000)
commit191046d0504cec221655e9821f264f492a70f0b1
tree8ebac5401a0b06fbbeb677c7dac9d1f55d598241
parentbf7f77ac1cd1f31fc6bf2072327eeee7baed5c6a
Optimize NumericLiteralParser::GetIntegerValue().

It does a conservative estimate on the size of numbers that can fit into
uint64_t.  This bound is improved.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164624 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/LiteralSupport.cpp