[libcxx-commits] [libcxx] af7f0f2 - [libc++] Add a few missing _LIBCPP_HIDE_FROM_ABI annotations
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 31 12:23:50 PDT 2023
Author: Louis Dionne
Date: 2023-05-31T12:23:37-07:00
New Revision: af7f0f2220ef1d856ebe2c35b6b883a0b1db6bba
URL: https://github.com/llvm/llvm-project/commit/af7f0f2220ef1d856ebe2c35b6b883a0b1db6bba
DIFF: https://github.com/llvm/llvm-project/commit/af7f0f2220ef1d856ebe2c35b6b883a0b1db6bba.diff
LOG: [libc++] Add a few missing _LIBCPP_HIDE_FROM_ABI annotations
Added:
Modified:
libcxx/include/__memory/allocator.h
libcxx/include/__utility/in_place.h
Removed:
################################################################################
diff --git a/libcxx/include/__memory/allocator.h b/libcxx/include/__memory/allocator.h
index 98f68899e4efb..badfea05e2ebd 100644
--- a/libcxx/include/__memory/allocator.h
+++ b/libcxx/include/__memory/allocator.h
@@ -98,7 +98,7 @@ class _LIBCPP_TEMPLATE_VIS allocator
typedef true_type propagate_on_container_move_assignment;
typedef true_type is_always_equal;
- _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator() _NOEXCEPT = default;
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator() _NOEXCEPT = default;
template <class _Up>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
@@ -186,7 +186,7 @@ class _LIBCPP_TEMPLATE_VIS allocator<const _Tp>
typedef true_type propagate_on_container_move_assignment;
typedef true_type is_always_equal;
- _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator() _NOEXCEPT = default;
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator() _NOEXCEPT = default;
template <class _Up>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20
diff --git a/libcxx/include/__utility/in_place.h b/libcxx/include/__utility/in_place.h
index d1a357571063b..ba8aa227f2e60 100644
--- a/libcxx/include/__utility/in_place.h
+++ b/libcxx/include/__utility/in_place.h
@@ -35,7 +35,7 @@ inline constexpr in_place_type_t<_Tp> in_place_type{};
template <size_t _Idx>
struct _LIBCPP_TEMPLATE_VIS in_place_index_t {
- explicit in_place_index_t() = default;
+ _LIBCPP_HIDE_FROM_ABI explicit in_place_index_t() = default;
};
template <size_t _Idx>
inline constexpr in_place_index_t<_Idx> in_place_index{};
More information about the libcxx-commits
mailing list