llvm-project/lldb/scripts
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
..
Python modify-python-lldb.py: clean up __iter__ and __len__ support 2019-04-03 11:48:38 +00:00
Xcode Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
interface modify-python-lldb.py: clean up __iter__ and __len__ support 2019-04-03 11:48:38 +00:00
swig_bot_lib Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
CMakeLists.txt [Cmake] Unify python variables 2019-03-29 17:35:42 +00:00
analyze-project-deps.py Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
build-lldb-llvm-clang Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to 2017-09-27 23:44:54 +00:00
buildbot.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
checkpoint-llvm.pl
disasm-gdb-remote.pl
finish-swig-wrapper-classes.sh
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh Update framework-header-fix to force system sed 2018-11-04 15:55:28 +00:00
generate-vers.pl
get_relative_lib_dir.py
install-lldb.sh
install_custom_python.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
lldb.swig Make operator==s consistent between c++ and python APIs 2019-04-02 10:18:46 +00:00
macos-setup-codesign.sh Add a script to setup codesigning on macOS. 2018-06-14 18:04:13 +00:00
prepare_bindings.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sed-sources
shush
sort-pbxproj.rb Change sort-pbxproj.rb to find the project.pbxproj in the 2018-07-23 23:34:50 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py use_lldb_suite.py: Fix potential infinite loop 2019-02-07 14:03:43 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py The Python 3 part of the script was missed when adding OpenBSD support. 2018-10-04 20:34:58 +00:00
verify_api.py python 2/3 compat: commands vs subprocess 2019-03-26 14:46:15 +00:00