[all-commits] [llvm/llvm-project] bc5479: [libc][cpp::string] Add operator= overload for str...
Jackson Stogel via All-commits
all-commits at lists.llvm.org
Tue Jul 7 11:03:17 PDT 2026
Branch: refs/heads/users/jtstogel/realpath/cpp-string-fixes
Home: https://github.com/llvm/llvm-project
Commit: bc5479e9c1b08bd473583dd94d9aaea15bfef6b8
https://github.com/llvm/llvm-project/commit/bc5479e9c1b08bd473583dd94d9aaea15bfef6b8
Author: jtstogel <jtstogel at gmail.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M libc/src/__support/CPP/string.h
M libc/test/src/__support/CPP/string_test.cpp
Log Message:
-----------
[libc][cpp::string] Add operator= overload for string_view.
Also, this PR fixes a memory leak in `operator=(string&&)`, where the string's buffer is not freed.
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