llvm-project/lldb/scripts/Python
Johnny Chen 112f5696fb Add truth value testing to those lldb Python objects with the IsValid() method definitions.
object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(),
via a simple delegation to self.IsValid().

Change tests under python_api/lldbutil to utilize this mechanism.

llvm-svn: 131494
2011-05-17 22:14:39 +00:00
..
build-swig-Python.sh Update comments. 2011-04-29 19:22:24 +00:00
edit-swig-python-wrapper-file.py Remove references to particular Python version (use the system default 2010-10-28 21:51:20 +00:00
finish-swig-Python-LLDB.sh Parameterize the shell scripts for creating and copying the python and 2010-06-16 19:26:52 +00:00
modify-python-lldb.py Add truth value testing to those lldb Python objects with the IsValid() method definitions. 2011-05-17 22:14:39 +00:00
python-extensions.swig Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, 2011-04-25 20:23:05 +00:00