This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Remove use of ConstString from OptionValue
ClosedPublic

Authored by bulbazord on Jul 3 2023, 12:59 PM.

Details

Summary

No need to create a ConstString, GetName already returns a StringRef.

Diff Detail

Event Timeline

bulbazord created this revision.Jul 3 2023, 12:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 12:59 PM
bulbazord requested review of this revision.Jul 3 2023, 12:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 12:59 PM
jasonmolenda accepted this revision.Jul 5 2023, 4:47 PM
jasonmolenda added a subscriber: jasonmolenda.

LGTM.

This revision is now accepted and ready to land.Jul 5 2023, 4:47 PM
This revision was automatically updated to reflect the committed changes.