[all-commits] [llvm/llvm-project] 3cff6c: [lldb][NFCI] Change return type of Properties::Get...

Alex via All-commits all-commits at lists.llvm.org
Tue Jun 13 14:53:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cff6ca81335ceff4ddd823b87daa38eedba5130
      https://github.com/llvm/llvm-project/commit/3cff6ca81335ceff4ddd823b87daa38eedba5130
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M lldb/include/lldb/Core/UserSettingsController.h
    M lldb/source/Core/UserSettingsController.cpp
    M lldb/source/Interpreter/OptionValueProperties.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list