[all-commits] [llvm/llvm-project] 6fea3d: [lldb] Simplify handling of empty strings for MCP ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jul 11 17:22:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fea3da40447514102118f2aeece590af0e16e5c
      https://github.com/llvm/llvm-project/commit/6fea3da40447514102118f2aeece590af0e16e5c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M lldb/source/Plugins/Protocol/MCP/Protocol.cpp
    M lldb/source/Plugins/Protocol/MCP/Protocol.h
    M lldb/source/Plugins/Protocol/MCP/Tool.cpp
    M lldb/unittests/Protocol/ProtocolMCPTest.cpp

  Log Message:
  -----------
  [lldb] Simplify handling of empty strings for MCP (NFC) (#148317)

Instead of storing a `std::optional<std::string>`, directly use a
`std::string` and treat a missing value the same was as an empty string.



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