[all-commits] [llvm/llvm-project] 857eda: [lldb] Convert AppendWarningWithFormat( calls to A...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Apr 8 07:27:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 857edabe190323bc98c14642c907e8e4762ce272
      https://github.com/llvm/llvm-project/commit/857edabe190323bc98c14642c907e8e4762ce272
  Author: David Spickett <david.spickett at arm.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Commands/CommandObjectDisassemble.cpp
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Commands/CommandObjectSource.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Commands/CommandObjectType.cpp

  Log Message:
  -----------
  [lldb] Convert AppendWarningWithFormat( calls to AppendWarningWithFormatv( (#190951)

The former does not automatically add a newline like the majority of the
other AppendSomethingWithSomething calls do.

So this PR changes all but 1 use of that function to the Formatv version
and removes the explicit newline from the format strings. I also took
advantage of Formatv's ability to handle StringRef and std::string
automatically.

There is one use of AppendWarningWithFormat left, which I will address
in a follow up since it's not so straightforward.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list