Coverage Report

Created: 2022-01-22 13:19

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/include/lldb/Utility/Iterable.h
Line
Count
Source (jump to first uncovered line)
1
//===-- Iterable.h ----------------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_UTILITY_ITERABLE_H
10
#define LLDB_UTILITY_ITERABLE_H
11
12
#include <utility>
13
14
15
namespace lldb_private {
16
17
0
template <typename I, typename E> E map_adapter(I &iter) {
18
0
  return iter->second;
19
0
}
20
21
5.16M
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&)
Line
Count
Source
21
171k
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&)
Line
Count
Source
21
507
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&)
Line
Count
Source
21
41.7k
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&)
Line
Count
Source
21
21.9k
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&)
Line
Count
Source
21
131
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&)
Line
Count
Source
21
4.92M
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&)
Line
Count
Source
21
290
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&)
Line
Count
Source
21
72
template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
22
23
40
template <typename I, typename E> E list_adapter(I &iter) { return *iter; }
24
25
template <typename C, typename E, E (*A)(typename C::const_iterator &)>
26
class AdaptedConstIterator {
27
public:
28
  typedef typename C::const_iterator BackingIterator;
29
30
  // Wrapping constructor
31
  AdaptedConstIterator(BackingIterator backing_iterator)
32
767k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>)
Line
Count
Source
32
11.8k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>)
Line
Count
Source
32
282
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>)
Line
Count
Source
32
318k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>)
Line
Count
Source
32
162
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>)
Line
Count
Source
32
6.22k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>)
Line
Count
Source
32
40.8k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>)
Line
Count
Source
32
320k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::AdaptedConstIterator(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>)
Line
Count
Source
32
11.4k
      : m_iter(backing_iterator) {}
lldb_private::AdaptedConstIterator<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::AdaptedConstIterator(std::__1::__wrap_iter<lldb_private::SymbolContext const*>)
Line
Count
Source
32
58.1k
      : m_iter(backing_iterator) {}
33
34
  // Default-constructible
35
  AdaptedConstIterator() : m_iter() {}
36
37
  // Copy-constructible
38
  AdaptedConstIterator(const AdaptedConstIterator &rhs) : m_iter(rhs.m_iter) {}
39
40
  // Copy-assignable
41
  AdaptedConstIterator &operator=(const AdaptedConstIterator &rhs) {
42
    m_iter = rhs.m_iter;
43
    return *this;
44
  }
45
46
  // Destructible
47
  ~AdaptedConstIterator() = default;
48
49
  // Comparable
50
  bool operator==(const AdaptedConstIterator &rhs) {
51
    return m_iter == rhs.m_iter;
52
  }
53
54
5.53M
  bool operator!=(const AdaptedConstIterator &rhs) {
55
5.53M
    return m_iter != rhs.m_iter;
56
5.53M
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))> const&)
Line
Count
Source
54
6.23k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
6.23k
    return m_iter != rhs.m_iter;
56
6.23k
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))> const&)
Line
Count
Source
54
210
  bool operator!=(const AdaptedConstIterator &rhs) {
55
210
    return m_iter != rhs.m_iter;
56
210
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))> const&)
Line
Count
Source
54
5.08M
  bool operator!=(const AdaptedConstIterator &rhs) {
55
5.08M
    return m_iter != rhs.m_iter;
56
5.08M
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))> const&)
Line
Count
Source
54
537
  bool operator!=(const AdaptedConstIterator &rhs) {
55
537
    return m_iter != rhs.m_iter;
56
537
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))> const&)
Line
Count
Source
54
3.15k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
3.15k
    return m_iter != rhs.m_iter;
56
3.15k
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))> const&)
Line
Count
Source
54
42.4k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
42.4k
    return m_iter != rhs.m_iter;
56
42.4k
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))> const&)
Line
Count
Source
54
331k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
331k
    return m_iter != rhs.m_iter;
56
331k
  }
lldb_private::AdaptedConstIterator<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))> const&)
Line
Count
Source
54
5.83k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
5.83k
    return m_iter != rhs.m_iter;
56
5.83k
  }
lldb_private::AdaptedConstIterator<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::operator!=(lldb_private::AdaptedConstIterator<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))> const&)
Line
Count
Source
54
61.4k
  bool operator!=(const AdaptedConstIterator &rhs) {
55
61.4k
    return m_iter != rhs.m_iter;
56
61.4k
  }
57
58
  // Rvalue dereferenceable
59
5.16M
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::operator*()
Line
Count
Source
59
290
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::operator*()
Line
Count
Source
59
72
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::operator*()
Line
Count
Source
59
4.92M
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::operator*()
Line
Count
Source
59
507
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::operator*()
Line
Count
Source
59
40
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::operator*()
Line
Count
Source
59
21.9k
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::operator*()
Line
Count
Source
59
171k
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::operator*()
Line
Count
Source
59
131
  E operator*() { return (*A)(m_iter); }
lldb_private::AdaptedConstIterator<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::operator*()
Line
Count
Source
59
41.7k
  E operator*() { return (*A)(m_iter); }
60
61
  E operator->() { return (*A)(m_iter); }
62
63
  // Offset dereferenceable
64
  E operator[](typename BackingIterator::difference_type offset) {
65
    return AdaptedConstIterator(m_iter + offset);
66
  }
67
68
  // Incrementable
69
5.14M
  AdaptedConstIterator &operator++() {
70
5.14M
    m_iter++;
71
5.14M
    return *this;
72
5.14M
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::operator++()
Line
Count
Source
69
290
  AdaptedConstIterator &operator++() {
70
290
    m_iter++;
71
290
    return *this;
72
290
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::operator++()
Line
Count
Source
69
69
  AdaptedConstIterator &operator++() {
70
69
    m_iter++;
71
69
    return *this;
72
69
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::operator++()
Line
Count
Source
69
4.92M
  AdaptedConstIterator &operator++() {
70
4.92M
    m_iter++;
71
4.92M
    return *this;
72
4.92M
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::operator++()
Line
Count
Source
69
456
  AdaptedConstIterator &operator++() {
70
456
    m_iter++;
71
456
    return *this;
72
456
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::operator++()
Line
Count
Source
69
40
  AdaptedConstIterator &operator++() {
70
40
    m_iter++;
71
40
    return *this;
72
40
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::operator++()
Line
Count
Source
69
21.9k
  AdaptedConstIterator &operator++() {
70
21.9k
    m_iter++;
71
21.9k
    return *this;
72
21.9k
  }
lldb_private::AdaptedConstIterator<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::operator++()
Line
Count
Source
69
171k
  AdaptedConstIterator &operator++() {
70
171k
    m_iter++;
71
171k
    return *this;
72
171k
  }
lldb_private::AdaptedConstIterator<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::operator++()
Line
Count
Source
69
131
  AdaptedConstIterator &operator++() {
70
131
    m_iter++;
71
131
    return *this;
72
131
  }
lldb_private::AdaptedConstIterator<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::operator++()
Line
Count
Source
69
32.4k
  AdaptedConstIterator &operator++() {
70
32.4k
    m_iter++;
71
32.4k
    return *this;
72
32.4k
  }
73
74
  // Decrementable
75
  AdaptedConstIterator &operator--() {
76
    m_iter--;
77
    return *this;
78
  }
79
80
  // Compound assignment
81
  AdaptedConstIterator &
82
  operator+=(typename BackingIterator::difference_type offset) {
83
    m_iter += offset;
84
    return *this;
85
  }
86
87
  AdaptedConstIterator &
88
  operator-=(typename BackingIterator::difference_type offset) {
89
    m_iter -= offset;
90
    return *this;
91
  }
92
93
  // Arithmetic
94
  AdaptedConstIterator
95
  operator+(typename BackingIterator::difference_type offset) {
96
    return AdaptedConstIterator(m_iter + offset);
97
  }
98
99
  AdaptedConstIterator
100
  operator-(typename BackingIterator::difference_type offset) {
101
    return AdaptedConstIterator(m_iter - offset);
102
  }
103
104
  // Comparable
105
  bool operator<(AdaptedConstIterator &rhs) { return m_iter < rhs.m_iter; }
106
107
  bool operator<=(AdaptedConstIterator &rhs) { return m_iter <= rhs.m_iter; }
108
109
  bool operator>(AdaptedConstIterator &rhs) { return m_iter > rhs.m_iter; }
110
111
  bool operator>=(AdaptedConstIterator &rhs) { return m_iter >= rhs.m_iter; }
112
113
  template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
114
  friend AdaptedConstIterator<C1, E1, A1>
115
  operator+(typename C1::const_iterator::difference_type,
116
            AdaptedConstIterator<C1, E1, A1> &);
117
118
  template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
119
  friend typename C1::const_iterator::difference_type
120
  operator-(AdaptedConstIterator<C1, E1, A1> &,
121
            AdaptedConstIterator<C1, E1, A1> &);
122
123
  template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
124
  friend void swap(AdaptedConstIterator<C1, E1, A1> &,
125
                   AdaptedConstIterator<C1, E1, A1> &);
126
127
private:
128
  BackingIterator m_iter;
129
};
130
131
template <typename C, typename E, E (*A)(typename C::const_iterator &)>
132
AdaptedConstIterator<C, E, A> operator+(
133
    typename AdaptedConstIterator<C, E, A>::BackingIterator::difference_type
134
        offset,
135
    AdaptedConstIterator<C, E, A> &rhs) {
136
  return rhs.operator+(offset);
137
}
138
139
template <typename C, typename E, E (*A)(typename C::const_iterator &)>
140
typename AdaptedConstIterator<C, E, A>::BackingIterator::difference_type
141
operator-(AdaptedConstIterator<C, E, A> &lhs,
142
          AdaptedConstIterator<C, E, A> &rhs) {
143
  return (lhs.m_iter - rhs.m_iter);
144
}
145
146
template <typename C, typename E, E (*A)(typename C::const_iterator &)>
147
void swap(AdaptedConstIterator<C, E, A> &lhs,
148
          AdaptedConstIterator<C, E, A> &rhs) {
149
  std::swap(lhs.m_iter, rhs.m_iter);
150
}
151
152
template <typename C, typename E, E (*A)(typename C::const_iterator &)>
153
class AdaptedIterable {
154
private:
155
  const C &m_container;
156
157
public:
158
383k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > > const&)
Line
Count
Source
158
5.94k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > > const&)
Line
Count
Source
158
141
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > > const&)
Line
Count
Source
158
159k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > > const&)
Line
Count
Source
158
81
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > > const&)
Line
Count
Source
158
3.11k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > > const&)
Line
Count
Source
158
20.4k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::AdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > > const&)
Line
Count
Source
158
160k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::AdaptedIterable(std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > > const&)
Line
Count
Source
158
5.70k
  AdaptedIterable(const C &container) : m_container(container) {}
lldb_private::AdaptedIterable<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::AdaptedIterable(std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> > const&)
Line
Count
Source
158
29.0k
  AdaptedIterable(const C &container) : m_container(container) {}
159
160
383k
  AdaptedConstIterator<C, E, A> begin() {
161
383k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
383k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::begin()
Line
Count
Source
160
5.94k
  AdaptedConstIterator<C, E, A> begin() {
161
5.94k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
5.94k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::begin()
Line
Count
Source
160
141
  AdaptedConstIterator<C, E, A> begin() {
161
141
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
141
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::begin()
Line
Count
Source
160
159k
  AdaptedConstIterator<C, E, A> begin() {
161
159k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
159k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::begin()
Line
Count
Source
160
81
  AdaptedConstIterator<C, E, A> begin() {
161
81
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
81
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::begin()
Line
Count
Source
160
3.11k
  AdaptedConstIterator<C, E, A> begin() {
161
3.11k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
3.11k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::begin()
Line
Count
Source
160
20.4k
  AdaptedConstIterator<C, E, A> begin() {
161
20.4k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
20.4k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::begin()
Line
Count
Source
160
160k
  AdaptedConstIterator<C, E, A> begin() {
161
160k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
160k
  }
lldb_private::AdaptedIterable<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::begin()
Line
Count
Source
160
5.70k
  AdaptedConstIterator<C, E, A> begin() {
161
5.70k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
5.70k
  }
lldb_private::AdaptedIterable<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::begin()
Line
Count
Source
160
29.0k
  AdaptedConstIterator<C, E, A> begin() {
161
29.0k
    return AdaptedConstIterator<C, E, A>(m_container.begin());
162
29.0k
  }
163
164
383k
  AdaptedConstIterator<C, E, A> end() {
165
383k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
383k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&))>::end()
Line
Count
Source
164
5.94k
  AdaptedConstIterator<C, E, A> end() {
165
5.94k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
5.94k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Type>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Type> > >, std::__1::shared_ptr<lldb_private::Type>, &(std::__1::shared_ptr<lldb_private::Type> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>, std::__1::shared_ptr<lldb_private::Type> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Type> const*>&))>::end()
Line
Count
Source
164
141
  AdaptedConstIterator<C, E, A> end() {
165
141
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
141
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&))>::end()
Line
Count
Source
164
159k
  AdaptedConstIterator<C, E, A> end() {
165
159k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
159k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&))>::end()
Line
Count
Source
164
81
  AdaptedConstIterator<C, E, A> end() {
165
81
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
81
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&))>::end()
Line
Count
Source
164
3.11k
  AdaptedConstIterator<C, E, A> end() {
165
3.11k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
3.11k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&))>::end()
Line
Count
Source
164
20.4k
  AdaptedConstIterator<C, E, A> end() {
165
20.4k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
20.4k
  }
lldb_private::AdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::BreakpointLocation>, std::__1::allocator<std::__1::shared_ptr<lldb_private::BreakpointLocation> > >, std::__1::shared_ptr<lldb_private::BreakpointLocation>, &(std::__1::shared_ptr<lldb_private::BreakpointLocation> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>, std::__1::shared_ptr<lldb_private::BreakpointLocation> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::BreakpointLocation> const*>&))>::end()
Line
Count
Source
164
160k
  AdaptedConstIterator<C, E, A> end() {
165
160k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
160k
  }
lldb_private::AdaptedIterable<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&))>::end()
Line
Count
Source
164
5.70k
  AdaptedConstIterator<C, E, A> end() {
165
5.70k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
5.70k
  }
lldb_private::AdaptedIterable<std::__1::vector<lldb_private::SymbolContext, std::__1::allocator<lldb_private::SymbolContext> >, lldb_private::SymbolContext, &(lldb_private::SymbolContext lldb_private::vector_adapter<std::__1::__wrap_iter<lldb_private::SymbolContext const*>, lldb_private::SymbolContext>(std::__1::__wrap_iter<lldb_private::SymbolContext const*>&))>::end()
Line
Count
Source
164
29.0k
  AdaptedConstIterator<C, E, A> end() {
165
29.0k
    return AdaptedConstIterator<C, E, A>(m_container.end());
166
29.0k
  }
167
};
168
169
template <typename C, typename E, E (*A)(typename C::const_iterator &),
170
          typename MutexType>
171
class LockingAdaptedIterable : public AdaptedIterable<C, E, A> {
172
public:
173
  LockingAdaptedIterable(const C &container, MutexType &mutex)
174
177k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
177k
    m_mutex->lock();
176
177k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&)), std::__1::recursive_mutex>::LockingAdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > > const&, std::__1::recursive_mutex&)
Line
Count
Source
174
5.94k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
5.94k
    m_mutex->lock();
176
5.94k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&)), std::__1::recursive_mutex>::LockingAdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > > const&, std::__1::recursive_mutex&)
Line
Count
Source
174
142k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
142k
    m_mutex->lock();
176
142k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&)), std::__1::mutex>::LockingAdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > > const&, std::__1::mutex&)
Line
Count
Source
174
81
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
81
    m_mutex->lock();
176
81
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&)), std::__1::recursive_mutex>::LockingAdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > > const&, std::__1::recursive_mutex&)
Line
Count
Source
174
3.11k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
3.11k
    m_mutex->lock();
176
3.11k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&)), std::__1::recursive_mutex>::LockingAdaptedIterable(std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > > const&, std::__1::recursive_mutex&)
Line
Count
Source
174
20.4k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
20.4k
    m_mutex->lock();
176
20.4k
  }
lldb_private::LockingAdaptedIterable<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&)), std::__1::recursive_mutex>::LockingAdaptedIterable(std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > > const&, std::__1::recursive_mutex&)
Line
Count
Source
174
5.70k
      : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) {
175
5.70k
    m_mutex->lock();
176
5.70k
  }
177
178
  LockingAdaptedIterable(LockingAdaptedIterable &&rhs)
179
      : AdaptedIterable<C, E, A>(rhs), m_mutex(rhs.m_mutex) {
180
    rhs.m_mutex = nullptr;
181
  }
182
183
177k
  ~LockingAdaptedIterable() {
184
177k
    if (m_mutex)
185
177k
      m_mutex->unlock();
186
177k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Target>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Target> > >, std::__1::shared_ptr<lldb_private::Target>, &(std::__1::shared_ptr<lldb_private::Target> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>, std::__1::shared_ptr<lldb_private::Target> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Target> const*>&)), std::__1::recursive_mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
5.94k
  ~LockingAdaptedIterable() {
184
5.94k
    if (m_mutex)
185
5.94k
      m_mutex->unlock();
186
5.94k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Module>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Module> > >, std::__1::shared_ptr<lldb_private::Module>, &(std::__1::shared_ptr<lldb_private::Module> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>, std::__1::shared_ptr<lldb_private::Module> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Module> const*>&)), std::__1::recursive_mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
142k
  ~LockingAdaptedIterable() {
184
142k
    if (m_mutex)
185
142k
      m_mutex->unlock();
186
142k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Queue>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Queue> > >, std::__1::shared_ptr<lldb_private::Queue>, &(std::__1::shared_ptr<lldb_private::Queue> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>, std::__1::shared_ptr<lldb_private::Queue> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Queue> const*>&)), std::__1::mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
81
  ~LockingAdaptedIterable() {
184
81
    if (m_mutex)
185
81
      m_mutex->unlock();
186
81
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Breakpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Breakpoint> > >, std::__1::shared_ptr<lldb_private::Breakpoint>, &(std::__1::shared_ptr<lldb_private::Breakpoint> lldb_private::list_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>, std::__1::shared_ptr<lldb_private::Breakpoint> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Breakpoint> const*>&)), std::__1::recursive_mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
3.11k
  ~LockingAdaptedIterable() {
184
3.11k
    if (m_mutex)
185
3.11k
      m_mutex->unlock();
186
3.11k
  }
lldb_private::LockingAdaptedIterable<std::__1::vector<std::__1::shared_ptr<lldb_private::Thread>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Thread> > >, std::__1::shared_ptr<lldb_private::Thread>, &(std::__1::shared_ptr<lldb_private::Thread> lldb_private::vector_adapter<std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>, std::__1::shared_ptr<lldb_private::Thread> >(std::__1::__wrap_iter<std::__1::shared_ptr<lldb_private::Thread> const*>&)), std::__1::recursive_mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
20.4k
  ~LockingAdaptedIterable() {
184
20.4k
    if (m_mutex)
185
20.4k
      m_mutex->unlock();
186
20.4k
  }
lldb_private::LockingAdaptedIterable<std::__1::list<std::__1::shared_ptr<lldb_private::Watchpoint>, std::__1::allocator<std::__1::shared_ptr<lldb_private::Watchpoint> > >, std::__1::shared_ptr<lldb_private::Watchpoint>, &(std::__1::shared_ptr<lldb_private::Watchpoint> lldb_private::vector_adapter<std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>, std::__1::shared_ptr<lldb_private::Watchpoint> >(std::__1::__list_const_iterator<std::__1::shared_ptr<lldb_private::Watchpoint>, void*>&)), std::__1::recursive_mutex>::~LockingAdaptedIterable()
Line
Count
Source
183
5.70k
  ~LockingAdaptedIterable() {
184
5.70k
    if (m_mutex)
185
5.70k
      m_mutex->unlock();
186
5.70k
  }
187
188
private:
189
  MutexType *m_mutex = nullptr;
190
191
  LockingAdaptedIterable(const LockingAdaptedIterable &) = delete;
192
  LockingAdaptedIterable &operator=(const LockingAdaptedIterable &) = delete;
193
};
194
195
} // namespace lldb_private
196
197
#endif // LLDB_UTILITY_ITERABLE_H