[all-commits] [llvm/llvm-project] df0358: [lldb-dap] Remove spurious move (NFC) (#140641)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon May 19 18:38:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df0358f36b69689b8d502efd08cb8422cf170600
      https://github.com/llvm/llvm-project/commit/df0358f36b69689b8d502efd08cb8422cf170600
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

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

  Log Message:
  -----------
  [lldb-dap] Remove spurious move (NFC) (#140641)

getArgumentsIfRequest is returning a local variable by value. Using
std::move is not needed and may inhibit copy elision. Also fixes the
braces around a single-line if.



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