Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / bindings / interface / SBProcessInfoListExtensions.i
blob42999846ef6a52fc41f7aba3e186d6ce7f91f87f
1 %extend lldb::SBProcessInfoList {
2 #ifdef SWIGPYTHON
3 %pythoncode%{
4 def __len__(self):
5 '''Return the number of process info in a lldb.SBProcessInfoListExtensions object.'''
6 return self.GetSize()
8 def __iter__(self):
9 '''Iterate over all the process info in a lldb.SBProcessInfoListExtensions object.'''
10 return lldb_iter(self, 'GetSize', 'GetProcessInfoAtIndex')
12 #endif