diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2020-02-11 09:05:37 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2020-02-11 09:14:41 +0100 |
| commit | 642bc15dd7186a6317510cf961a8dc3d35e5b713 (patch) | |
| tree | b508484943c6a7e75a7e5d7ace362568d435ea6e /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 14ecbd7b8ded18af6c95f6a9957da541d1ec0e80 (diff) | |
[lldb][NFC] Remove several inefficient ConstString -> const char * -> StringRef conversions
StringRef will call strlen on the C string which is inefficient (as ConstString already
knows the string lenght and so does StringRef). This patch replaces all those calls
with GetStringRef() which doesn't recompute the length.
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
