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 | fbb08bc2e2fd4dd8598a404f41043a8c31780e49 (patch) | |
tree | abdb93d89236c2b813aa020f23101f035e56eb62 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 871422eca917f4528394bf7652388fa9c023a0b8 (diff) | |
download | bcm5719-llvm-fbb08bc2e2fd4dd8598a404f41043a8c31780e49.tar.gz bcm5719-llvm-fbb08bc2e2fd4dd8598a404f41043a8c31780e49.zip |
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).
llvm-svn: 44339
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions