summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__debug
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/__debug
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/__debug')
-rw-r--r--libcxx/include/__debug14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/include/__debug b/libcxx/include/__debug
index 4a0e3cecbb6..c7bd5d0fac6 100644
--- a/libcxx/include/__debug
+++ b/libcxx/include/__debug
@@ -24,9 +24,9 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-struct _LIBCPP_VISIBLE __c_node;
+struct _LIBCPP_TYPE_VIS __c_node;
-struct _LIBCPP_VISIBLE __i_node
+struct _LIBCPP_TYPE_VIS __i_node
{
void* __i_;
__i_node* __next_;
@@ -40,7 +40,7 @@ struct _LIBCPP_VISIBLE __i_node
~__i_node();
};
-struct _LIBCPP_VISIBLE __c_node
+struct _LIBCPP_TYPE_VIS __c_node
{
void* __c_;
__c_node* __next_;
@@ -117,7 +117,7 @@ _C_node<_Cont>::__subscriptable(const void* __i, ptrdiff_t __n) const
return _Cp->__subscriptable(__j, __n);
}
-class _LIBCPP_VISIBLE __libcpp_db
+class _LIBCPP_TYPE_VIS __libcpp_db
{
__c_node** __cbeg_;
__c_node** __cend_;
@@ -176,11 +176,11 @@ private:
_LIBCPP_HIDDEN
__i_node* __find_iterator(const void* __i) const;
- friend _LIBCPP_VISIBLE __libcpp_db* __get_db();
+ friend _LIBCPP_FUNC_VIS __libcpp_db* __get_db();
};
-_LIBCPP_VISIBLE __libcpp_db* __get_db();
-_LIBCPP_VISIBLE const __libcpp_db* __get_const_db();
+_LIBCPP_FUNC_VIS __libcpp_db* __get_db();
+_LIBCPP_FUNC_VIS const __libcpp_db* __get_const_db();
_LIBCPP_END_NAMESPACE_STD
OpenPOWER on IntegriCloud