[all-commits] [llvm/llvm-project] f65d7f: [libc++][vector] Fixes shrink_to_fit. (#97895)

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat Jul 20 03:56:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f65d7fdcf81f1fb01df3446b254f3304589f19c4
      https://github.com/llvm/llvm-project/commit/f65d7fdcf81f1fb01df3446b254f3304589f19c4
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
    M libcxx/include/vector
    M libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp

  Log Message:
  -----------
  [libc++][vector] Fixes shrink_to_fit. (#97895)

This assures shrink_to_fit does not increase the allocated size.

Partly addresses https://github.com/llvm/llvm-project/issues/95161

---------

Co-authored-by: Mital Ashok <mital.vaja at googlemail.com>



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