summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext/hash_map
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
commit6e41256f6803ae236c51748c1b3472443b14c639 (patch)
tree230d9e55d39e9465389ce1e046b0958621c1169d /libcxx/include/ext/hash_map
parent084fad6a51338e5a141c7f7b3b58d5050692c992 (diff)
downloadbcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.tar.gz
bcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.zip
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.
llvm-svn: 176593
Diffstat (limited to 'libcxx/include/ext/hash_map')
-rw-r--r--libcxx/include/ext/hash_map26
1 files changed, 13 insertions, 13 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index bebdccb3c41..a6fe894e4d9 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -361,7 +361,7 @@ public:
};
template <class _HashIterator>
-class _LIBCPP_VISIBLE __hash_map_iterator
+class _LIBCPP_TYPE_VIS __hash_map_iterator
{
_HashIterator __i_;
@@ -404,15 +404,15 @@ public:
bool operator!=(const __hash_map_iterator& __x, const __hash_map_iterator& __y)
{return __x.__i_ != __y.__i_;}
- template <class, class, class, class, class> friend class _LIBCPP_VISIBLE hash_map;
- template <class, class, class, class, class> friend class _LIBCPP_VISIBLE hash_multimap;
- template <class> friend class _LIBCPP_VISIBLE __hash_const_iterator;
- template <class> friend class _LIBCPP_VISIBLE __hash_const_local_iterator;
- template <class> friend class _LIBCPP_VISIBLE __hash_map_const_iterator;
+ template <class, class, class, class, class> friend class _LIBCPP_TYPE_VIS hash_map;
+ template <class, class, class, class, class> friend class _LIBCPP_TYPE_VIS hash_multimap;
+ template <class> friend class _LIBCPP_TYPE_VIS __hash_const_iterator;
+ template <class> friend class _LIBCPP_TYPE_VIS __hash_const_local_iterator;
+ template <class> friend class _LIBCPP_TYPE_VIS __hash_map_const_iterator;
};
template <class _HashIterator>
-class _LIBCPP_VISIBLE __hash_map_const_iterator
+class _LIBCPP_TYPE_VIS __hash_map_const_iterator
{
_HashIterator __i_;
@@ -463,15 +463,15 @@ public:
bool operator!=(const __hash_map_const_iterator& __x, const __hash_map_const_iterator& __y)
{return __x.__i_ != __y.__i_;}
- template <class, class, class, class, class> friend class _LIBCPP_VISIBLE hash_map;
- template <class, class, class, class, class> friend class _LIBCPP_VISIBLE hash_multimap;
- template <class> friend class _LIBCPP_VISIBLE __hash_const_iterator;
- template <class> friend class _LIBCPP_VISIBLE __hash_const_local_iterator;
+ template <class, class, class, class, class> friend class _LIBCPP_TYPE_VIS hash_map;
+ template <class, class, class, class, class> friend class _LIBCPP_TYPE_VIS hash_multimap;
+ template <class> friend class _LIBCPP_TYPE_VIS __hash_const_iterator;
+ template <class> friend class _LIBCPP_TYPE_VIS __hash_const_local_iterator;
};
template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
class _Alloc = allocator<pair<const _Key, _Tp> > >
-class _LIBCPP_VISIBLE hash_map
+class _LIBCPP_TYPE_VIS hash_map
{
public:
// types
@@ -750,7 +750,7 @@ operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
class _Alloc = allocator<pair<const _Key, _Tp> > >
-class _LIBCPP_VISIBLE hash_multimap
+class _LIBCPP_TYPE_VIS hash_multimap
{
public:
// types
OpenPOWER on IntegriCloud