[libc-commits] [libc] [libc] Implement TLSF FreeStore with Trie Overflow Bin (PR #203415)

Daniel Thornburgh via libc-commits libc-commits at lists.llvm.org
Fri Jul 17 15:58:39 PDT 2026


================
@@ -41,6 +41,9 @@ class FreeList {
     /// @returns The inner size of blocks in the list containing this node.
     LIBC_INLINE size_t size() const { return block().inner_size(); }
 
+    /// @returns The next node in the list containing this node.
+    LIBC_INLINE Node *next_node() const { return next; }
----------------
mysterymath wrote:

For consistency, we should rename the member variable to `next_` and expose this as `next()`.

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


More information about the libc-commits mailing list