[all-commits] [llvm/llvm-project] 317461: [lldb-dap] Avoid a std::string allocation for the ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Feb 26 09:57:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 317461ed61002de7f6e54ab0a26780c6d2726bb0
      https://github.com/llvm/llvm-project/commit/317461ed61002de7f6e54ab0a26780c6d2726bb0
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  [lldb-dap] Avoid a std::string allocation for the help output (NFC)

Don't create a temporary `std::string` for the help output, just write
it to `llvm::outs()` directly.



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