[libcxx-commits] [libcxx] 47aa1fe - [libc++][Apple] Update availability markup for std::to_chars(floating-point)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 19 07:24:53 PDT 2023


Author: Louis Dionne
Date: 2023-03-19T10:24:38-04:00
New Revision: 47aa1fe376a477939a1991ffe37504124af25f52

URL: https://github.com/llvm/llvm-project/commit/47aa1fe376a477939a1991ffe37504124af25f52
DIFF: https://github.com/llvm/llvm-project/commit/47aa1fe376a477939a1991ffe37504124af25f52.diff

LOG: [libc++][Apple] Update availability markup for std::to_chars(floating-point)

Differential Revision: https://reviews.llvm.org/D146367

Added: 
    

Modified: 
    libcxx/include/__availability

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__availability b/libcxx/include/__availability
index bd1c92ae73db..c03d373cafb5 100644
--- a/libcxx/include/__availability
+++ b/libcxx/include/__availability
@@ -239,7 +239,10 @@
 #   endif
 
 #   define _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT                         \
-        __attribute__((unavailable))
+        __attribute__((availability(macos,strict,introduced=13.3)))             \
+        __attribute__((availability(ios,strict,introduced=16.3)))               \
+        __attribute__((availability(tvos,strict,introduced=16.3)))              \
+        __attribute__((availability(watchos,strict,introduced=9.3)))
 
 #   define _LIBCPP_AVAILABILITY_SYNC                                            \
         __attribute__((availability(macos,strict,introduced=11.0)))             \


        


More information about the libcxx-commits mailing list