llvm.org GIT mirror llvm / 4569553
don't form an std::string with a null pointer, it aborts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46166 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9797 return ftostr(V.convertToDouble());
9898 else if (&V.getSemantics() == &APFloat::IEEEsingle)
9999 return ftostr((double)V.convertToFloat());
100 return 0; // error
100 return ""; // error
101101 }
102102
103103 static inline std::string LowercaseString(const std::string &S) {