[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / bindings / interface / SBAddressRangeExtensions.i
blob31bcfcb64590bcd0ab1a737fe56aeb57ada74279
1 %extend lldb::SBAddressRange {
2 #ifdef SWIGPYTHON
3 %pythoncode%{
4 def __repr__(self):
5 import lldb
6 stream = lldb.SBStream()
7 self.GetDescription(stream, lldb.target if lldb.target else lldb.SBTarget())
8 return stream.GetData()
9 %}
10 #endif