Skip to content
Unverified Commit d5a62b78 authored by Alex Langford's avatar Alex Langford Committed by GitHub
Browse files

[lldb][NFCI] Remove unneccessary allocation in...

[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.
parent 45e6e4d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment