aboutsummaryrefslogtreecommitdiff
path: root/lldb/include/lldb/Utility/RangeMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/Utility/RangeMap.h')
-rw-r--r--lldb/include/lldb/Utility/RangeMap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/include/lldb/Utility/RangeMap.h b/lldb/include/lldb/Utility/RangeMap.h
index 7eb0cab8084c..257b177c7092 100644
--- a/lldb/include/lldb/Utility/RangeMap.h
+++ b/lldb/include/lldb/Utility/RangeMap.h
@@ -627,6 +627,10 @@ public:
return (m_entries.empty() ? nullptr : &m_entries.back());
}
+ using const_iterator = typename Collection::const_iterator;
+ const_iterator begin() const { return m_entries.begin(); }
+ const_iterator end() const { return m_entries.end(); }
+
protected:
Collection m_entries;
Compare m_compare;