[lldb][NFCI] Change return type of Properties::GetExperimentalSettingsName
authorAlex Langford <alangford@apple.com>
Fri, 2 Jun 2023 00:06:06 +0000 (17:06 -0700)
committerAlex Langford <alangford@apple.com>
Tue, 13 Jun 2023 21:53:24 +0000 (14:53 -0700)
commit3cff6ca81335ceff4ddd823b87daa38eedba5130
treed8c08f70bae93723e5eb27f197adde4cff0b8e4e
parentf154f10887e908fa8fe3282c3cc0735717a8e97d
[lldb][NFCI] Change return type of Properties::GetExperimentalSettingsName

Most users of this stick it into a StringRef. The one user that doesn't
just tries to get the length out of it, which we can precompute by
putting it in a constexpr StringLiteral.

Differential Revision: https://reviews.llvm.org/D151951
lldb/include/lldb/Core/UserSettingsController.h
lldb/source/Core/UserSettingsController.cpp
lldb/source/Interpreter/OptionValueProperties.cpp