diff options
| author | Nikolas Klauser <nikolasklauser@berlin.de> | 2025-11-17 16:01:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 16:01:25 +0100 |
| commit | e95c5c85113066fbf14307e31a533fdb1a7387ef (patch) | |
| tree | 9e49698b22ce1e71801b86186837748d96f3964a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 53e3f8e3c50ee28e33181514933c5632a001033b (diff) | |
[libc++] Refactor basic_string::__recommend (#162631)
This does a couple of things:
- code that is only useful for `shrink_to_fit` is moved into that
function
- `shrink_to_fit` is simplified a bit
- `__recommend` is renamed to better reflect what the function actually
does
- `__allocate_long_buffer` asserts that the passed capacity doesn't fit
into the SSO
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
