summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-03-19 19:19:44 +0000
committerEric Fiselier <eric@efcs.ca>2019-03-19 19:19:44 +0000
commit33244990adff3523a6bcf11e587d76978003f9c6 (patch)
treec8e88bc5dfe667234cea638d3156331e0c9124e7 /libcxx
parent3c98cdd21832207694ab9307f83a6c6e4e21185b (diff)
downloadbcm5719-llvm-33244990adff3523a6bcf11e587d76978003f9c6.tar.gz
bcm5719-llvm-33244990adff3523a6bcf11e587d76978003f9c6.zip
Add visibility attributes and inline to some vector methods.
Adding filesystem to the dylib caused some vector symbols to leak into the set of exported symbols. This patch hides those symbols. llvm-svn: 356502
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/vector11
1 files changed, 8 insertions, 3 deletions
diff --git a/libcxx/include/vector b/libcxx/include/vector
index e560b083afe..82bf6e0038d 100644
--- a/libcxx/include/vector
+++ b/libcxx/include/vector
@@ -835,12 +835,17 @@ private:
}
#ifndef _LIBCPP_CXX03_LANG
- template <class _Up> void __push_back_slow_path(_Up&& __x);
+ template <class _Up>
+ _LIBCPP_INLINE_VISIBILITY
+ inline void __push_back_slow_path(_Up&& __x);
template <class... _Args>
- void __emplace_back_slow_path(_Args&&... __args);
+ _LIBCPP_INLINE_VISIBILITY
+ inline void __emplace_back_slow_path(_Args&&... __args);
#else
- template <class _Up> void __push_back_slow_path(_Up& __x);
+ template <class _Up>
+ _LIBCPP_INLINE_VISIBILITY
+ inline void __push_back_slow_path(_Up& __x);
#endif
// The following functions are no-ops outside of AddressSanitizer mode.
OpenPOWER on IntegriCloud