[libcxx-commits] [libcxx] [libc++] Introduce a standalone __scope_guard and use it in <string> (PR #114867)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 4 13:50:13 PST 2024


================
@@ -2548,7 +2556,6 @@ _LIBCPP_DEPRECATED_("use __grow_by_without_replace") basic_string<_CharT, _Trait
   pointer __old_p = __get_pointer();
   size_type __cap =
       __old_cap < __ms / 2 - __alignment ? __recommend(std::max(__old_cap + __delta_cap, 2 * __old_cap)) : __ms - 1;
-  __annotate_delete();
----------------
ldionne wrote:

You removed this one but now there are no annotations at all within this function. Was that intended?

https://github.com/llvm/llvm-project/pull/114867


More information about the libcxx-commits mailing list