[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
Sun Jul 17 19:31:56 PDT 2022


brad created this revision.
brad added reviewers: Mordante, phosek, ldionne, libc++.
brad added a project: libc++.
Herald added subscribers: abrachet, danielkiss.
Herald added a project: All.
brad requested review of this revision.
Herald added 1 blocking reviewer(s): libc++.

Repository:
  rG LLVM Github Monorepo

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.445373.patch
Type: text/x-patch
Size: 1922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220718/51c7642b/attachment.bin>


More information about the libcxx-commits mailing list