[all-commits] [llvm/llvm-project] 7ee633: [lldb][NFCI] Remove unneeded temporary std::string...

Alex via All-commits all-commits at lists.llvm.org
Fri Jul 14 10:47:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ee633a24b8ce87b3a9b2f0f4bd1aace634cd2a1
      https://github.com/llvm/llvm-project/commit/7ee633a24b8ce87b3a9b2f0f4bd1aace634cd2a1
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M lldb/include/lldb/API/SBStringList.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/API/SBStringList.cpp
    M lldb/source/API/SBStructuredData.cpp
    M lldb/source/API/SBThread.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove unneeded temporary std::string allocations in SBAPI

This uses some friend class trickery to avoid some unneeded temporary
std::string allocations.

Differential Revision: https://reviews.llvm.org/D155035




More information about the All-commits mailing list