[all-commits] [llvm/llvm-project] b8f906: [libc++] Simplify string::reserve (#114869)
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Tue Nov 5 07:05:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8f9063ae9ca82a93fc9ea1365362926c92cc0ca
https://github.com/llvm/llvm-project/commit/b8f9063ae9ca82a93fc9ea1365362926c92cc0ca
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-11-05 (Tue, 05 Nov 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++] Simplify string::reserve (#114869)
We're checking quite a few things that are either trivially true or
trivially false. These cases became trivial when we changed `reserve()`
to never shrink.
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