[all-commits] [llvm/llvm-project] 641225: [lldb][NFCI] BreakpointResolverName ctor shouldn't...

Alex via All-commits all-commits at lists.llvm.org
Tue Sep 12 15:32:19 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64122580c0809fc6fc15bd955fea4e9ace80a135
  Author: Alex <alangford at apple.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M lldb/include/lldb/Breakpoint/BreakpointResolverName.h
    M lldb/source/Breakpoint/BreakpointResolverName.cpp

  Log Message:
  [lldb][NFCI] BreakpointResolverName ctor shouldn't unnecessarily copy data (#66001)

Instead of creating a copy of the vector, we should just pass a
reference along. The only method that calls this Ctor also holds onto a
non-mutable reference to the vector of strings so a copy should be

More information about the All-commits mailing list