summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext/hash_map
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-04-22 01:04:55 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-04-22 01:04:55 +0000
commitcd31b4348adf33cb90673a3f3ed72f13b4a95528 (patch)
tree8122127241b9b1b95c4f194dcc04ef1d3bb8b81f /libcxx/include/ext/hash_map
parent12b87facf4460ba366672dfdd6a54a36601629fe (diff)
downloadbcm5719-llvm-cd31b4348adf33cb90673a3f3ed72f13b4a95528.tar.gz
bcm5719-llvm-cd31b4348adf33cb90673a3f3ed72f13b4a95528.zip
Cleanup: move visibility/linkage attributes to the first declaration.
http://reviews.llvm.org/D15404 llvm-svn: 267093
Diffstat (limited to 'libcxx/include/ext/hash_map')
-rw-r--r--libcxx/include/ext/hash_map6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index 38866531333..5e1e9f542b1 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -549,6 +549,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
iterator insert(const_iterator, const value_type& __x) {return insert(__x).first;}
template <class _InputIterator>
+ _LIBCPP_INLINE_VISIBILITY
void insert(_InputIterator __first, _InputIterator __last);
_LIBCPP_INLINE_VISIBILITY
@@ -674,7 +675,7 @@ hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k)
template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
-inline _LIBCPP_INLINE_VISIBILITY
+inline
void
hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
_InputIterator __last)
@@ -820,6 +821,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
iterator insert(const_iterator, const value_type& __x) {return insert(__x);}
template <class _InputIterator>
+ _LIBCPP_INLINE_VISIBILITY
void insert(_InputIterator __first, _InputIterator __last);
_LIBCPP_INLINE_VISIBILITY
@@ -927,7 +929,7 @@ hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
-inline _LIBCPP_INLINE_VISIBILITY
+inline
void
hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
_InputIterator __last)
OpenPOWER on IntegriCloud