[libcxx-commits] [libcxx] [libc++] Add randomize unspecified stability in `__hash_table` (PR #105982)

Arvid Jonasson via libcxx-commits libcxx-commits at lists.llvm.org
Sun Aug 25 08:47:05 PDT 2024


================
@@ -775,6 +779,7 @@ public:
   }
 
 private:
+  _LIBCPP_HIDE_FROM_ABI __next_pointer __node_insert_multi_find_insertion_point(size_t __cp_hash, value_type& __cp_val);
----------------
arvidjonasson wrote:

`__node_insert_multi_find_insertion_point` is used in `__node_insert_multi_prepare` and `__debug_randomize_order`. Is refactoring warranted or should I instead copy the "find insertion point" logic/code from `__node_insert_multi_prepare`?

https://github.com/llvm/llvm-project/pull/105982


More information about the libcxx-commits mailing list