summaryrefslogtreecommitdiff
path: root/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
commit83eade6abb414e0e814977921bcb6e46853cae03 (patch)
tree9d3e84d49bf6e3fa531a98fc9ac6e5f63102e574 /include/__debug
parentcc7bdae931f9b3c4b67b9d1278ddd387810eecd3 (diff)
downloadlibcxx-83eade6abb414e0e814977921bcb6e46853cae03.tar.gz
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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@176593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__debug')
-rw-r--r--include/__debug14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/__debug b/include/__debug
index 4a0e3cecb..c7bd5d0fa 100644
--- a/include/__debug
+++ b/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