llvm.org GIT mirror llvm / 547bbfb
Fix build breakage caused by r306096 It seems some targets don't have std::strtof and friends. Hopefully, dropping the std:: will be fine, as that's what the compiler recommends. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306098 91177308-0d34-0410-b5e6-96231b3b80d8 Pavel Labath 2 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
145145 }
146146
147147 inline bool to_float(const Twine &T, float &Num) {
148 return detail::to_float(T, Num, std::strtof);
148 return detail::to_float(T, Num, strtof);
149149 }
150150
151151 inline bool to_float(const Twine &T, double &Num) {
152 return detail::to_float(T, Num, std::strtod);
152 return detail::to_float(T, Num, strtod);
153153 }
154154
155155 inline bool to_float(const Twine &T, long double &Num) {
156 return detail::to_float(T, Num, std::strtold);
156 return detail::to_float(T, Num, strtold);
157157 }
158158
159159 static inline std::string utostr(uint64_t X, bool isNeg = false) {