summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__debug
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-09-27 23:55:03 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-09-27 23:55:03 +0000
commit920b56ca88f06dd9e01caf6f99fcb01e53d1d058 (patch)
tree5e4888c62e46c2ef52fc0373283296904c36ec47 /libcxx/include/__debug
parent30c811246fe1313c9f72e504a342607a741a6602 (diff)
downloadbcm5719-llvm-920b56ca88f06dd9e01caf6f99fcb01e53d1d058.tar.gz
bcm5719-llvm-920b56ca88f06dd9e01caf6f99fcb01e53d1d058.zip
Another installment on debug mode. This addresses list. However this should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things.
llvm-svn: 140660
Diffstat (limited to 'libcxx/include/__debug')
-rw-r--r--libcxx/include/__debug3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/__debug b/libcxx/include/__debug
index e807fa5a41b..cd3bd3a98d9 100644
--- a/libcxx/include/__debug
+++ b/libcxx/include/__debug
@@ -60,7 +60,7 @@ struct _LIBCPP_VISIBLE __c_node
virtual bool __addable(const void*, ptrdiff_t) const = 0;
virtual bool __subscriptable(const void*, ptrdiff_t) const = 0;
- _LIBCPP_HIDDEN void __add(__i_node* __i);
+ void __add(__i_node* __i);
_LIBCPP_HIDDEN void __remove(__i_node* __i);
};
@@ -159,6 +159,7 @@ public:
void* __find_c_from_i(void* __i) const;
void __invalidate_all(void* __c);
__c_node* __find_c_and_lock(void* __c) const;
+ __c_node* __find_c(void* __c) const;
void unlock() const;
void swap(void* __c1, void* __c2);
OpenPOWER on IntegriCloud