diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-26 23:12:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-26 23:12:30 +0000 |
commit | 427d5af5b601985093b6b4b33ba1e30fc24d86dc (patch) | |
tree | b382d02cf67bdbd19e755f91d2cc8d47771fa31c /CodeGen/ModuleBuilder.cpp | |
parent | 51221ec87faa0365c9fc8c8ad7b7f2d3ee36c8ef (diff) |
Added optional pass-by-reference argument "isExact" to
NumericLiteralParser::GetFloatValue(). Upon method return, this flag has the value
true if the returned APFloat can exactly represent the number in the parsed text,
and false otherwise.
Modified the implementation of GetFloatValue() to parse literals using APFloat's
convertFromString method (which allows us to set the value of isExact).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions