Modify APFloat to take a StringRef instead of a c string.
authorErick Tryzelaar <idadesub@users.sourceforge.net>
Sun, 16 Aug 2009 23:36:19 +0000 (23:36 +0000)
committerErick Tryzelaar <idadesub@users.sourceforge.net>
Sun, 16 Aug 2009 23:36:19 +0000 (23:36 +0000)
commita15d890c34b5e3a6373c410ebc58453f2d52f43b
tree20e689f83e8fa199483f1cbbd3eece1d176cc87f
parent1b9104ff80ec708dee522128b1f6a929fdd323dd
Modify APFloat to take a StringRef instead of a c string.

This also adds unit tests to APFloat that mainly tests the
string handling of APFloat, but not much else of it's api.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79210 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APFloat.h
lib/Support/APFloat.cpp
unittests/ADT/APFloatTest.cpp [new file with mode: 0644]