diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-05-30 22:39:12 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-05-30 23:16:40 +0800 |
commit | f5cff9096ff6649d5cf429547e217c3f1a502d13 (patch) | |
tree | e19c241ad47b66448c395567095db343feb583f6 /9/sources/cxx-stl/llvm-libc++/libcxx | |
parent | d9886ee33bff5823d6f620a1c73fb7d335246b89 (diff) | |
download | prebuilts_ndk-f5cff9096ff6649d5cf429547e217c3f1a502d13.zip prebuilts_ndk-f5cff9096ff6649d5cf429547e217c3f1a502d13.tar.gz prebuilts_ndk-f5cff9096ff6649d5cf429547e217c3f1a502d13.tar.bz2 |
Refresh 64-bit headers/libs (WW22)
Change-Id: I86e0e36bd5296d4b0ce05e9a2e8aaa756b6733b2
Diffstat (limited to '9/sources/cxx-stl/llvm-libc++/libcxx')
-rw-r--r-- | 9/sources/cxx-stl/llvm-libc++/libcxx/include/__config | 5 | ||||
-rw-r--r-- | 9/sources/cxx-stl/llvm-libc++/libcxx/include/string | 20 |
2 files changed, 14 insertions, 11 deletions
diff --git a/9/sources/cxx-stl/llvm-libc++/libcxx/include/__config b/9/sources/cxx-stl/llvm-libc++/libcxx/include/__config index 296b140..4f48522 100644 --- a/9/sources/cxx-stl/llvm-libc++/libcxx/include/__config +++ b/9/sources/cxx-stl/llvm-libc++/libcxx/include/__config @@ -191,6 +191,7 @@ #ifndef _LIBCPP_INLINE_VISIBILITY #define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__)) +#define _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 _LIBCPP_INLINE_VISIBILITY #endif #ifndef _LIBCPP_EXCEPTION_ABI @@ -363,6 +364,8 @@ namespace std { # if (_GNUC_VER == 409) #undef _LIBCPP_ALWAYS_INLINE_EXCEPT_GCC49 #define _LIBCPP_ALWAYS_INLINE_EXCEPT_GCC49 inline +#undef _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 +#define _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 #endif #define _ALIGNAS(x) __attribute__((__aligned__(x))) @@ -461,7 +464,7 @@ using namespace _LIBCPP_NAMESPACE __attribute__((__strong__)); #define __gxx__cxx_lambdas !defined(_LIBCPP_HAS_NO_LAMBDAS) #define __gxx__cxx_noexcept 0 // Not sure, doesn't matter. #define __gxx__cxx_nullptr !defined(_LIBCPP_HAS_NO_NULLPTR) -#define __gxx__cxx_reference_qualified_functions (_GNUC_VER > 408) // Since 4.8.1, but platform target gcc4.8 has not been upgraded yet +#define __gxx__cxx_reference_qualified_functions (_GNUC_VER > 408) // Since 4.8.1 #ifdef _LIBCPP_NO_RTTI #define __gxx__cxx_rtti 0 #else diff --git a/9/sources/cxx-stl/llvm-libc++/libcxx/include/string b/9/sources/cxx-stl/llvm-libc++/libcxx/include/string index 7e61909..5c8d6e9 100644 --- a/9/sources/cxx-stl/llvm-libc++/libcxx/include/string +++ b/9/sources/cxx-stl/llvm-libc++/libcxx/include/string @@ -1287,26 +1287,26 @@ private: public: static const size_type npos = -1; - _LIBCPP_INLINE_VISIBILITY basic_string() + _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value); - _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a); + _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 explicit basic_string(const allocator_type& __a); basic_string(const basic_string& __str); basic_string(const basic_string& __str, const allocator_type& __a); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY + _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string(basic_string&& __str) _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value); _LIBCPP_INLINE_VISIBILITY basic_string(basic_string&& __str, const allocator_type& __a); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s); + _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string(const value_type* __s); _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s, const allocator_type& __a); _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s, size_type __n); _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s, size_type __n, const allocator_type& __a); - _LIBCPP_INLINE_VISIBILITY + _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string(size_type __n, value_type __c); _LIBCPP_INLINE_VISIBILITY basic_string(size_type __n, value_type __c, const allocator_type& __a); @@ -1891,7 +1891,7 @@ basic_string<_CharT, _Traits, _Allocator>::__invalidate_iterators_past(size_type } template <class _CharT, class _Traits, class _Allocator> -inline _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string<_CharT, _Traits, _Allocator>::basic_string() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value) { @@ -1902,7 +1902,7 @@ basic_string<_CharT, _Traits, _Allocator>::basic_string() } template <class _CharT, class _Traits, class _Allocator> -inline _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a) : __r_(__a) { @@ -1961,7 +1961,7 @@ basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_ty } template <class _CharT, class _Traits, class _Allocator> -inline _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string<_CharT, _Traits, _Allocator>::basic_string(const value_type* __s) { _LIBCPP_ASSERT(__s != nullptr, "basic_string(const char*) detected nullptr"); @@ -2035,7 +2035,7 @@ basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __st #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template <class _CharT, class _Traits, class _Allocator> -inline _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str) _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value) : __r_(_VSTD::move(__str.__r_)) @@ -2092,7 +2092,7 @@ basic_string<_CharT, _Traits, _Allocator>::__init(size_type __n, value_type __c) } template <class _CharT, class _Traits, class _Allocator> -inline _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY_EXCEPT_GCC49 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, value_type __c) { __init(__n, __c); |