mirror of
https://github.com/AntelopeIO/cdt-libcxx.git
synced 2026-07-21 13:53:36 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@356502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
+8
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user