summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-12-09 22:32:36 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-12-09 22:32:36 +0000
commit02b8e94943ca216ca9df313fd076c3e7a2d29448 (patch)
treeb36e58805476bfcf9ebf98d0b2ba3590e38bfaa2
parentdbb8a1d8e7317b423ac4d4502e9ba67a3856ed3c (diff)
downloadbcm5719-llvm-02b8e94943ca216ca9df313fd076c3e7a2d29448.tar.gz
bcm5719-llvm-02b8e94943ca216ca9df313fd076c3e7a2d29448.zip
Add 3 more missing inline/visibility attributes.
These are the cases when an out-of-class definition of a method is marked _LIBCPP_INLINE_VISIBILITY, but the in-class declaration is not. This will start failing when (or if) we switch to attribute((internal_linkage)). llvm-svn: 255166
-rw-r--r--libcxx/include/bitset1
-rw-r--r--libcxx/include/memory2
2 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/bitset b/libcxx/include/bitset
index b7d95a811f3..87d7afca5a7 100644
--- a/libcxx/include/bitset
+++ b/libcxx/include/bitset
@@ -202,6 +202,7 @@ protected:
private:
#ifdef _LIBCPP_HAS_NO_CONSTEXPR
void __init(unsigned long long __v, false_type) _NOEXCEPT;
+ _LIBCPP_INLINE_VISIBILITY
void __init(unsigned long long __v, true_type) _NOEXCEPT;
#endif // _LIBCPP_HAS_NO_CONSTEXPR
unsigned long to_ulong(false_type) const;
diff --git a/libcxx/include/memory b/libcxx/include/memory
index bd6167268c3..65369d2632c 100644
--- a/libcxx/include/memory
+++ b/libcxx/include/memory
@@ -3995,6 +3995,7 @@ public:
is_convertible<_Yp*, element_type*>::value,
shared_ptr&
>::type
+ _LIBCPP_INLINE_VISIBILITY
operator=(auto_ptr<_Yp> __r);
#endif
template <class _Yp, class _Dp>
@@ -4008,6 +4009,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
operator=(unique_ptr<_Yp, _Dp>&& __r);
#else // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+ _LIBCPP_INLINE_VISIBILITY
operator=(unique_ptr<_Yp, _Dp> __r);
#endif
OpenPOWER on IntegriCloud