[all-commits] [llvm/llvm-project] 201457: [lldb][NFCI] Remove unneeded ConstString construct...

Alex via All-commits all-commits at lists.llvm.org
Mon Jun 26 11:08:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2014572d9a6839745a920ec19ebfa73814548061
      https://github.com/llvm/llvm-project/commit/2014572d9a6839745a920ec19ebfa73814548061
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Target.cpp
    M lldb/unittests/Interpreter/TestOptionValue.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove unneeded ConstString constructions for OptionValueProperties::AppendProperty

I removed ConstString from OptionValueProperties in 643ba926c1f6, but
there are a few call sites that still create a ConstString as an
argument. I did not catch these initially because ConstString has an
implicit conversion method to StringRef.

Differential Revision: https://reviews.llvm.org/D153673




More information about the All-commits mailing list