Revise per review of previous patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2007-08-31 17:03:33 +00:00
parent 1b5dcc34b7
commit ee8476847d
3 changed files with 29 additions and 15 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ static inline std::string ftostr(double V) {
return B;
}
static inline std::string ftostr(APFloat V) {
static inline std::string ftostr(const APFloat& V) {
if (&V.getSemantics() == &APFloat::IEEEsingle)
return ftostr(V.convertToDouble());
else if (&V.getSemantics() == &APFloat::IEEEdouble)