[all-commits] [llvm/llvm-project] 769ffe: [lldb-dap][NFC] Use GetStringValue helper (#199672)

Sergei Druzhkov via All-commits all-commits at lists.llvm.org
Tue May 26 11:46:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 769ffe95aac091593563cb2a8cc282b0b6dd2099
      https://github.com/llvm/llvm-project/commit/769ffe95aac091593563cb2a8cc282b0b6dd2099
  Author: Sergei Druzhkov <serzhdruzhok at gmail.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp

  Log Message:
  -----------
  [lldb-dap][NFC] Use GetStringValue helper (#199672)

I noticed some inconsistency in working with
`SBStructuredData.GetStringValue` (e.g. use `length + 1` or `length`),
so it would be better to remove that code duplication and use common
helper (`GetStringValue`) to do this routine.



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