No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@176593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -481,7 +481,7 @@ __vector_base<_Tp, _Allocator>::~__vector_base()
|
||||
}
|
||||
|
||||
template <class _Tp, class _Allocator = allocator<_Tp> >
|
||||
class _LIBCPP_VISIBLE vector
|
||||
class _LIBCPP_TYPE_VIS vector
|
||||
: private __vector_base<_Tp, _Allocator>
|
||||
{
|
||||
private:
|
||||
@@ -1963,7 +1963,7 @@ struct __has_storage_type<vector<bool, _Allocator> >
|
||||
};
|
||||
|
||||
template <class _Allocator>
|
||||
class _LIBCPP_VISIBLE vector<bool, _Allocator>
|
||||
class _LIBCPP_TYPE_VIS vector<bool, _Allocator>
|
||||
: private __vector_base_common<true>
|
||||
{
|
||||
public:
|
||||
@@ -2321,7 +2321,7 @@ private:
|
||||
friend class __bit_iterator<vector, false>;
|
||||
friend class __bit_iterator<vector, true>;
|
||||
friend struct __bit_array<vector>;
|
||||
friend struct _LIBCPP_VISIBLE hash<vector>;
|
||||
friend struct _LIBCPP_TYPE_VIS hash<vector>;
|
||||
};
|
||||
|
||||
template <class _Allocator>
|
||||
@@ -3104,7 +3104,7 @@ vector<bool, _Allocator>::__hash_code() const _NOEXCEPT
|
||||
}
|
||||
|
||||
template <class _Allocator>
|
||||
struct _LIBCPP_VISIBLE hash<vector<bool, _Allocator> >
|
||||
struct _LIBCPP_TYPE_VIS hash<vector<bool, _Allocator> >
|
||||
: public unary_function<vector<bool, _Allocator>, size_t>
|
||||
{
|
||||
_LIBCPP_INLINE_VISIBILITY
|
||||
|
||||
Reference in New Issue
Block a user