Don't add null characters to the end of the APFloat string buffer.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 25 Jul 2012 18:04:24 +0000 (18:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 25 Jul 2012 18:04:24 +0000 (18:04 +0000)
commit9f14ed1c60a1f6e8ab434a85d2ba9d82bc125cf4
tree9474a931b07e179880bfd5f339aec9b301cc966a
parente3094283e38d9e6f6a4a7a14a3a5d0f2af67d5d5
Don't add null characters to the end of the APFloat string buffer.

Report/patch inspiration by Olaf Krzikalla.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APFloat.cpp