summaryrefslogtreecommitdiffstats
path: root/libcxx/include/stack
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
commit6e41256f6803ae236c51748c1b3472443b14c639 (patch)
tree230d9e55d39e9465389ce1e046b0958621c1169d /libcxx/include/stack
parent084fad6a51338e5a141c7f7b3b58d5050692c992 (diff)
downloadbcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.tar.gz
bcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.zip
No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
llvm-svn: 176593
Diffstat (limited to 'libcxx/include/stack')
-rw-r--r--libcxx/include/stack6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/stack b/libcxx/include/stack
index 12fb35b703e..b8a7f4c0809 100644
--- a/libcxx/include/stack
+++ b/libcxx/include/stack
@@ -91,7 +91,7 @@ template <class T, class Container>
_LIBCPP_BEGIN_NAMESPACE_STD
-template <class _Tp, class _Container> class _LIBCPP_VISIBLE stack;
+template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS stack;
template <class _Tp, class _Container>
_LIBCPP_INLINE_VISIBILITY
@@ -104,7 +104,7 @@ bool
operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y);
template <class _Tp, class _Container = deque<_Tp> >
-class _LIBCPP_VISIBLE stack
+class _LIBCPP_TYPE_VIS stack
{
public:
typedef _Container container_type;
@@ -282,7 +282,7 @@ swap(stack<_Tp, _Container>& __x, stack<_Tp, _Container>& __y)
}
template <class _Tp, class _Container, class _Alloc>
-struct _LIBCPP_VISIBLE uses_allocator<stack<_Tp, _Container>, _Alloc>
+struct _LIBCPP_TYPE_VIS uses_allocator<stack<_Tp, _Container>, _Alloc>
: public uses_allocator<_Container, _Alloc>
{
};
OpenPOWER on IntegriCloud