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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 18 13:47:40 PDT 2023


ldionne created this revision.
Herald added a subscriber: mikhail.ramalho.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146367

Files:
  libcxx/include/__availability


Index: libcxx/include/__availability
===================================================================
--- libcxx/include/__availability
+++ 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)))             \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146367.506318.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230318/43253779/attachment.bin>


More information about the libcxx-commits mailing list