[libcxx-commits] [libcxx] ec67ad5 - [libc++][NFC] Format <string>
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 18 14:23:52 PST 2024
Author: Louis Dionne
Date: 2024-11-18T23:23:46+01:00
New Revision: ec67ad594b82fc2e763237d4e8d6bb2aea59110b
URL: https://github.com/llvm/llvm-project/commit/ec67ad594b82fc2e763237d4e8d6bb2aea59110b
DIFF: https://github.com/llvm/llvm-project/commit/ec67ad594b82fc2e763237d4e8d6bb2aea59110b.diff
LOG: [libc++][NFC] Format <string>
Added:
Modified:
libcxx/include/string
Removed:
################################################################################
diff --git a/libcxx/include/string b/libcxx/include/string
index a994f65a9a6e4f..bf7fc3c37ecd7a 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -3374,7 +3374,7 @@ template <class _CharT, class _Traits, class _Allocator>
inline _LIBCPP_CONSTEXPR_SINCE_CXX20 void
basic_string<_CharT, _Traits, _Allocator>::__shrink_or_extend(size_type __target_capacity) {
__annotate_delete();
- auto __guard = std::__make_scope_guard(__annotate_new_size(*this));
+ auto __guard = std::__make_scope_guard(__annotate_new_size(*this));
size_type __cap = capacity();
size_type __sz = size();
More information about the libcxx-commits
mailing list