[libcxx-commits] [libcxx] 7e7bd98 - [libc++] Add _LIBCPP_HIDE_FROM_ABI to the unsequenced_policy constructor

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 2 10:49:51 PDT 2023


Author: Nikolas Klauser
Date: 2023-05-02T10:49:39-07:00
New Revision: 7e7bd9833b1084b9724f48f0f05609a7b975b516

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

LOG: [libc++] Add _LIBCPP_HIDE_FROM_ABI to the unsequenced_policy constructor

Added: 
    

Modified: 
    libcxx/include/execution

Removed: 
    


################################################################################
diff  --git a/libcxx/include/execution b/libcxx/include/execution
index 30e6682a97fd..d73445dca112 100644
--- a/libcxx/include/execution
+++ b/libcxx/include/execution
@@ -87,7 +87,7 @@ constexpr __unsequenced_policy __unseq{__disable_user_instantiations_tag{}};
 #  if _LIBCPP_STD_VER >= 20
 
 struct unsequenced_policy {
-  constexpr explicit unsequenced_policy(__disable_user_instantiations_tag) {}
+  _LIBCPP_HIDE_FROM_ABI constexpr explicit unsequenced_policy(__disable_user_instantiations_tag) {}
   unsequenced_policy(const unsequenced_policy&)            = delete;
   unsequenced_policy& operator=(const unsequenced_policy&) = delete;
 };


        


More information about the libcxx-commits mailing list