[all-commits] [llvm/llvm-project] d95aec: [lldb][NFCI] Small adjustment to Breakpoint::AddName

Alex via All-commits all-commits at lists.llvm.org
Tue May 16 10:40:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d95aec2de2be114b4c331783fcceae233bf49aff
      https://github.com/llvm/llvm-project/commit/d95aec2de2be114b4c331783fcceae233bf49aff
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M lldb/source/Breakpoint/Breakpoint.cpp

  Log Message:
  -----------
  [lldb][NFCI] Small adjustment to Breakpoint::AddName

m_name_list is a std::unordered_set<std::string>, we can insert the
string directly instead of grabbing the c_str and creating yet another
one.




More information about the All-commits mailing list