[libcxx-commits] [PATCH] D123580: [libc++] Use bit field for checking if string is in long or short mode

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 12 02:46:04 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, Mordante.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This makes the code a bit simpler and (I think) removes the undefined behaviour from the normal string layout.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123580

Files:
  libcxx/include/string

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123580.422154.patch
Type: text/x-patch
Size: 6092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220412/aa137524/attachment.bin>


More information about the libcxx-commits mailing list