aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-09-19 10:49:53 -0700
committerGitHub <noreply@github.com>2023-09-19 10:49:53 -0700
commitd5a62b78b8ae1856e9eecf7d034ce6a1fbc0a76a (patch)
treec36f3f326960f1dd694b30bb757cab6952cf8a67 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parent45e6e4d70e1e5bdd7d9f04dfd0f4cc8798bcde0c (diff)
downloadllvm-d5a62b78b8ae1856e9eecf7d034ce6a1fbc0a76a.zip
llvm-d5a62b78b8ae1856e9eecf7d034ce6a1fbc0a76a.tar.gz
llvm-d5a62b78b8ae1856e9eecf7d034ce6a1fbc0a76a.tar.bz2
[lldb][NFCI] Remove unneccessary allocation in ScriptInterpreterPythonImpl::GetSyntheticTypeName (#66724)
Instead of copying memory out of the PythonString (via a std::string) and then using that to create a ConstString, it would make more sense to just create the ConstString from the original StringRef in the first place.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions