[all-commits] [llvm/llvm-project] faea93: [lldb] Avoid creating a temporary instance of std:...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jun 1 23:23:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faea938248ccb8fda37d8ac04fc11b25b8f31869
      https://github.com/llvm/llvm-project/commit/faea938248ccb8fda37d8ac04fc11b25b8f31869
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-01 (Sun, 01 Jun 2025)

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

  Log Message:
  -----------
  [lldb] Avoid creating a temporary instance of std::string (NFC) (#142294)

GetExceptionBreakpoint takes StringRef to look for a matching
breakpoint, so we don't need to create a temporary instance of
std::string on our own.



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