[all-commits] [llvm/llvm-project] c5cd82: [libc++][string] Fixes shrink_to_fit. (#97961)

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Jul 24 00:25:38 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c5cd826c05b6ed1760a5be2d0996fbb912bad6c7
      https://github.com/llvm/llvm-project/commit/c5cd826c05b6ed1760a5be2d0996fbb912bad6c7
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M libcxx/include/string
    M libcxx/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp

  Log Message:
  -----------
  [libc++][string] Fixes shrink_to_fit. (#97961)

This ensures that shrink_to_fit does not increase the allocated size.

Partly addresses #95161

(cherry picked from commit d0ca9f23e8f25b0509c3ff34ed215508b39ea6e7)



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