[all-commits] [llvm/llvm-project] 49453b: [lldb][NFC] remove AdaptedConstIterator and Adapte...

dlav-sc via All-commits all-commits at lists.llvm.org
Tue Feb 18 10:07:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49453bf18e1877a3bd4d1cef40bb52c209b9c1e3
      https://github.com/llvm/llvm-project/commit/49453bf18e1877a3bd4d1cef40bb52c209b9c1e3
  Author: dlav-sc <daniil.avdeev at syntacore.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M lldb/include/lldb/Breakpoint/BreakpointList.h
    M lldb/include/lldb/Breakpoint/BreakpointLocationCollection.h
    M lldb/include/lldb/Breakpoint/BreakpointLocationList.h
    M lldb/include/lldb/Breakpoint/WatchpointList.h
    M lldb/include/lldb/Breakpoint/WatchpointResource.h
    M lldb/include/lldb/Core/ModuleList.h
    M lldb/include/lldb/Core/ModuleSpec.h
    M lldb/include/lldb/Host/common/NativeProcessProtocol.h
    M lldb/include/lldb/Symbol/SymbolContext.h
    M lldb/include/lldb/Symbol/TypeList.h
    M lldb/include/lldb/Symbol/TypeMap.h
    M lldb/include/lldb/Target/QueueList.h
    M lldb/include/lldb/Target/TargetList.h
    M lldb/include/lldb/Target/ThreadCollection.h
    M lldb/include/lldb/Utility/Iterable.h

  Log Message:
  -----------
  [lldb][NFC] remove AdaptedConstIterator and AdaptedIterable (#127507)

AdaptedConstIterator currently doesn't have iterator traits, so I can't
use STL algorithms with containers like WatchpointList.

This patch replaces AdaptedConstIterator and AdaptedIterable with
llvm::iterator_adaped_base and llvm::iterator_range respectively.



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