[libcxx-commits] [libcxx] a0ec111 - [libc++] Temporarily disable availability markup for the C++20 Synchronization library

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 26 16:10:42 PST 2020


Author: Louis Dionne
Date: 2020-02-26T19:10:27-05:00
New Revision: a0ec111c92964fd3bc48a032d383eaa1109f20ce

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

LOG: [libc++] Temporarily disable availability markup for the C++20 Synchronization library

The markup wasn't quite right, and that broke compilation with availability
markup enabled. I'm disabling it until I have time to fix it properly to
get the CI mostly green again.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index 6cd12669fd34..b14cc84eadea 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -1435,7 +1435,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
 #  define _LIBCPP_AVAILABILITY_TO_CHARS                                        \
      _LIBCPP_AVAILABILITY_FILESYSTEM
 #  define _LIBCPP_AVAILABILITY_SYNC                                            \
-     __attribute__((availability(unavailable, message="The C++20 Synchronization Library requires runtime support that hasn't been shipped on Apple platforms yet!")))
+     /*FIXME:mark this as unavailable on Apple platforms*/
 #else
 #  define _LIBCPP_AVAILABILITY_SHARED_MUTEX
 #  define _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS


        


More information about the libcxx-commits mailing list