[libcxx-commits] [PATCH] D129978: [libcxx] Fix copy and pasto that broke the build on Android/Fuchsia
Brad Smith via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 18 06:17:14 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGda11b775b17c: [libcxx] Fix copy and pasto that broke the build on Android/Fuchsia (authored by brad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129978/new/
https://reviews.llvm.org/D129978
Files:
libcxx/include/__support/xlocale/__strtonum_fallback.h
Index: libcxx/include/__support/xlocale/__strtonum_fallback.h
===================================================================
--- libcxx/include/__support/xlocale/__strtonum_fallback.h
+++ 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);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129978.445475.patch
Type: text/x-patch
Size: 1922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220718/c62edc34/attachment-0001.bin>
More information about the libcxx-commits
mailing list