[all-commits] [llvm/llvm-project] 8dae17: [libc++] Refactor memory allocation in basic_strin...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Sep 18 05:37:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dae17be2991cd7f0d7fd9aa5aecd064520a14f6
      https://github.com/llvm/llvm-project/commit/8dae17be2991cd7f0d7fd9aa5aecd064520a14f6
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-09-18 (Thu, 18 Sep 2025)

  Changed paths:
    M libcxx/include/__memory/allocate_at_least.h
    M libcxx/include/string
    M libcxx/src/string.cpp

  Log Message:
  -----------
  [libc++] Refactor memory allocation in basic_string (#128423)

This patch introduces a string-internal API to make the allocation and
deallocation the long string simpler. Before this we had a lot of code
duplication, so ensuring that things were actually correct was
non-trivial.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list