diff options
author | Louis Dionne <ldionne@apple.com> | 2019-02-27 17:33:25 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-02-27 17:33:25 +0000 |
commit | 1be935f41897132883fc2877d78132fcd76e9988 (patch) | |
tree | 716379f7ae7b1fe78868085d34463432e2ffb080 /libcxx/include/experimental | |
parent | 6cdf3d8086fe5b74307e48cc80437b0301ffc5fe (diff) | |
download | bcm5719-llvm-1be935f41897132883fc2877d78132fcd76e9988.tar.gz bcm5719-llvm-1be935f41897132883fc2877d78132fcd76e9988.zip |
[libc++] Remove visibility-related warnings with Clang 8
The attributes were placed incorrectly -- they need to be after the
"struct" keyword, not before.
llvm-svn: 355006
Diffstat (limited to 'libcxx/include/experimental')
-rw-r--r-- | libcxx/include/experimental/functional | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libcxx/include/experimental/functional b/libcxx/include/experimental/functional index 8c55f4f5501..755eda64155 100644 --- a/libcxx/include/experimental/functional +++ b/libcxx/include/experimental/functional @@ -109,8 +109,7 @@ _LIBCPP_BEGIN_NAMESPACE_LFTS #if _LIBCPP_STD_VER > 11 // default searcher template<class _ForwardIterator, class _BinaryPredicate = equal_to<>> -_LIBCPP_TYPE_VIS -class default_searcher { +class _LIBCPP_TYPE_VIS default_searcher { public: _LIBCPP_INLINE_VISIBILITY default_searcher(_ForwardIterator __f, _ForwardIterator __l, @@ -208,8 +207,7 @@ public: template <class _RandomAccessIterator1, class _Hash = hash<typename iterator_traits<_RandomAccessIterator1>::value_type>, class _BinaryPredicate = equal_to<>> -_LIBCPP_TYPE_VIS -class boyer_moore_searcher { +class _LIBCPP_TYPE_VIS boyer_moore_searcher { private: typedef typename std::iterator_traits<_RandomAccessIterator1>::difference_type difference_type; typedef typename std::iterator_traits<_RandomAccessIterator1>::value_type value_type; @@ -360,8 +358,7 @@ make_boyer_moore_searcher( _RandomAccessIterator __f, _RandomAccessIterator __l, template <class _RandomAccessIterator1, class _Hash = hash<typename iterator_traits<_RandomAccessIterator1>::value_type>, class _BinaryPredicate = equal_to<>> -_LIBCPP_TYPE_VIS -class boyer_moore_horspool_searcher { +class _LIBCPP_TYPE_VIS boyer_moore_horspool_searcher { private: typedef typename std::iterator_traits<_RandomAccessIterator1>::difference_type difference_type; typedef typename std::iterator_traits<_RandomAccessIterator1>::value_type value_type; |