[libcxx-commits] [PATCH] D101206: [libc++] Rework node creation and destruction in std::list and std::forward_list

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 6 16:34:27 PDT 2023


ldionne updated this revision to Diff 556093.
ldionne retitled this revision from "[libc++] Remove UB in std::list" to "[libc++] Rework node creation and destruction in std::list and std::forward_list".
ldionne edited the summary of this revision.
ldionne added a comment.

Update. This is still a WIP. This rebases the patch and reworks how it's achieved to

1. Increase consistency
2. Remove code duplication
3. Simplify the code

The resulting patch touches more lines, but it becomes a lot easier to verify the correctness of the resulting code.

This is still a WIP, I need to update `std::list` but this is enough for today.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101206/new/

https://reviews.llvm.org/D101206

Files:
  libcxx/include/__hash_table
  libcxx/include/forward_list
  libcxx/include/list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101206.556093.patch
Type: text/x-patch
Size: 35715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230906/285f6bce/attachment-0001.bin>


More information about the libcxx-commits mailing list