aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-08-27 06:46:20 -0700
committerGitHub <noreply@github.com>2024-08-27 06:46:20 -0700
commit71eebe9daaf5d2068606640a6040775020bc36e9 (patch)
tree1aee9b3f8b62407ee4e3b6ea09d3058fd59ea8e5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent78505ade2c2e7d4d180e110442e0b074217877c8 (diff)
downloadllvm-71eebe9daaf5d2068606640a6040775020bc36e9.zip
llvm-71eebe9daaf5d2068606640a6040775020bc36e9.tar.gz
llvm-71eebe9daaf5d2068606640a6040775020bc36e9.tar.bz2
[llvm] Prefer StringRef::substr to StringRef::slice (NFC) (#106190)
S.substr(N, M) is simpler than S.slice(N, N + M). Also, substr is probably better recognizable than slice thanks to std::string_view::substr.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions