[libcxx-commits] [libcxx] da11b77 - [libcxx] Fix copy and pasto that broke the build on Android/Fuchsia
Brad Smith via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 18 06:17:00 PDT 2022
Author: Brad Smith
Date: 2022-07-18T09:16:49-04:00
New Revision: da11b775b17c35a2f9019706df3c1d65554d2fb0
URL: https://github.com/llvm/llvm-project/commit/da11b775b17c35a2f9019706df3c1d65554d2fb0
DIFF: https://github.com/llvm/llvm-project/commit/da11b775b17c35a2f9019706df3c1d65554d2fb0.diff
LOG: [libcxx] Fix copy and pasto that broke the build on Android/Fuchsia
Reviewed by: Mordante, phosek
Differential Revision: https://reviews.llvm.org/D129978
Added:
Modified:
libcxx/include/__support/xlocale/__strtonum_fallback.h
Removed:
################################################################################
diff --git a/libcxx/include/__support/xlocale/__strtonum_fallback.h b/libcxx/include/__support/xlocale/__strtonum_fallback.h
index ae1e1c8dfbcf2..19780909b2c5b 100644
--- a/libcxx/include/__support/xlocale/__strtonum_fallback.h
+++ b/libcxx/include/__support/xlocale/__strtonum_fallback.h
@@ -19,42 +19,42 @@
extern "C" {
#endif
-inline _LIBCPP_HIDE_FROM_ABI int float
+inline _LIBCPP_HIDE_FROM_ABI float
strtof_l(const char *__nptr, char **__endptr, locale_t) {
return ::strtof(__nptr, __endptr);
}
-inline _LIBCPP_HIDE_FROM_ABI int double
+inline _LIBCPP_HIDE_FROM_ABI double
strtod_l(const char *__nptr, char **__endptr, locale_t) {
return ::strtod(__nptr, __endptr);
}
-inline _LIBCPP_HIDE_FROM_ABI int long double
+inline _LIBCPP_HIDE_FROM_ABI long double
strtold_l(const char *__nptr, char **__endptr, locale_t) {
return ::strtold(__nptr, __endptr);
}
-inline _LIBCPP_HIDE_FROM_ABI int long long
+inline _LIBCPP_HIDE_FROM_ABI long long
strtoll_l(const char *__nptr, char **__endptr, int __base, locale_t) {
return ::strtoll(__nptr, __endptr, __base);
}
-inline _LIBCPP_HIDE_FROM_ABI int unsigned long long
+inline _LIBCPP_HIDE_FROM_ABI unsigned long long
strtoull_l(const char *__nptr, char **__endptr, int __base, locale_t) {
return ::strtoull(__nptr, __endptr, __base);
}
-inline _LIBCPP_HIDE_FROM_ABI int long long
+inline _LIBCPP_HIDE_FROM_ABI long long
wcstoll_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
return ::wcstoll(__nptr, __endptr, __base);
}
-inline _LIBCPP_HIDE_FROM_ABI int unsigned long long
+inline _LIBCPP_HIDE_FROM_ABI unsigned long long
wcstoull_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
return ::wcstoull(__nptr, __endptr, __base);
}
-inline _LIBCPP_HIDE_FROM_ABI int long double
+inline _LIBCPP_HIDE_FROM_ABI long double
wcstold_l(const wchar_t *__nptr, wchar_t **__endptr, locale_t) {
return ::wcstold(__nptr, __endptr);
}
More information about the libcxx-commits
mailing list