[all-commits] [llvm/llvm-project] 5d55ff: [libc++] Simplify the string structures a bit more

philnik777 via All-commits all-commits at lists.llvm.org
Sat May 14 13:08:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d55ffe94dc947308059a7a2484321b7f1bd6270
      https://github.com/llvm/llvm-project/commit/5d55ffe94dc947308059a7a2484321b7f1bd6270
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-05-14 (Sat, 14 May 2022)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Simplify the string structures a bit more

This simplifies the string structs a bit more and the normal layout should not contain any undefined behaviour anymore. I don't think there is a way to achieve this in the alternate string mode without breaking the ABI.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D125496




More information about the All-commits mailing list