teak-llvm/lldb/packages/Python/lldbsuite/test/python_api/default-constructor
Pavel Labath 4da5a1dbab modify-python-lldb.py: clean up __iter__ and __len__ support
Summary:
Instead of modifying the swig-generated code, just add the appropriate
methods to the interface files in order to get the swig to do the
generation for us.

This is a straight-forward move from the python script to the interface
files. The single class which has nontrivial handling in the script
(SBModule) has been left for a separate patch.

For the cases where I did not find any tests exercising the
iteration/length methods (i.e., no tests failed after I stopped emitting
them), I tried to add basic tests for that functionality.

Reviewers: zturner, jingham, amccarth

Subscribers: jdoerfert, lldb-commits

Differential Revision: https://reviews.llvm.org/D60119

llvm-svn: 357572
2019-04-03 11:48:38 +00:00
..
sb_address.py
sb_block.py
sb_breakpoint.py
sb_breakpointlocation.py
sb_breakpointname.py
sb_broadcaster.py
sb_communication.py
sb_compileunit.py
sb_debugger.py
sb_error.py
sb_event.py
sb_filespec.py
sb_frame.py
sb_function.py
sb_instruction.py
sb_instructionlist.py
sb_lineentry.py
sb_listener.py
sb_module.py
sb_process_info.py
sb_process.py
sb_section.py
sb_stringlist.py
sb_symbol.py
sb_symbolcontext.py
sb_target.py
sb_thread.py
sb_type.py
sb_value.py
sb_valuelist.py
sb_watchpoint.py
TestDefaultConstructorForAPIObjects.py