[libcxx-commits] [PATCH] D101206: [libc++] Remove UB in list, forward_list and __hash_table

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 28 11:13:43 PDT 2023


ldionne updated this revision to Diff 557451.
ldionne marked 4 inline comments as done.
ldionne edited the summary of this revision.
ldionne added a comment.

Update after discussion with Eric. This allows fixing the UB in all standard modes and simplifies the code quite a bit!


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/__node_handle
  libcxx/include/forward_list
  libcxx/include/list
  libcxx/include/unordered_map
  libcxx/include/unordered_set
  libcxx/test/std/containers/sequences/forwardlist/cfi.pass.cpp
  libcxx/test/std/containers/sequences/list/cfi.pass.cpp
  libcxx/test/std/containers/unord/cfi.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101206.557451.patch
Type: text/x-patch
Size: 36554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230928/9cf918e0/attachment-0001.bin>


More information about the libcxx-commits mailing list