[libcxx-commits] [libcxx] 1a6586e - [libc++] Add a few more mising HIDE_FROM_ABI macros

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 1 11:08:00 PDT 2023


Author: Louis Dionne
Date: 2023-06-01T11:07:50-07:00
New Revision: 1a6586e88cc6193e3b6b1568c3b024664a6acd00

URL: https://github.com/llvm/llvm-project/commit/1a6586e88cc6193e3b6b1568c3b024664a6acd00
DIFF: https://github.com/llvm/llvm-project/commit/1a6586e88cc6193e3b6b1568c3b024664a6acd00.diff

LOG: [libc++] Add a few more mising HIDE_FROM_ABI macros

Added: 
    

Modified: 
    libcxx/include/__debug

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__debug b/libcxx/include/__debug
index ccbfae72320b..19ed4748abcf 100644
--- a/libcxx/include/__debug
+++ b/libcxx/include/__debug
@@ -83,13 +83,13 @@ template <class _Cont>
 struct _C_node
     : public __c_node
 {
-    explicit _C_node(void* __c, __c_node* __n)
+    _LIBCPP_HIDE_FROM_ABI explicit _C_node(void* __c, __c_node* __n)
         : __c_node(__c, __n) {}
 
-    bool __dereferenceable(const void*) const override;
-    bool __decrementable(const void*) const override;
-    bool __addable(const void*, ptr
diff _t) const override;
-    bool __subscriptable(const void*, ptr
diff _t) const override;
+    _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool __dereferenceable(const void*) const override;
+    _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool __decrementable(const void*) const override;
+    _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool __addable(const void*, ptr
diff _t) const override;
+    _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool __subscriptable(const void*, ptr
diff _t) const override;
 };
 
 template <class _Cont>


        


More information about the libcxx-commits mailing list