[all-commits] [llvm/llvm-project] adbf64: [LLDB][Python] remove ArgInfo::count
smoofra via All-commits
all-commits at lists.llvm.org
Mon Nov 4 12:50:07 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: adbf64ccc9e18278600ebaeadd8f0117eb8e64b1
https://github.com/llvm/llvm-project/commit/adbf64ccc9e18278600ebaeadd8f0117eb8e64b1
Author: Lawrence D'Anna <lawrence_danna at apple.com>
Date: 2019-11-04 (Mon, 04 Nov 2019)
Changed paths:
M lldb/scripts/Python/python-wrapper.swig
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
Log Message:
-----------
[LLDB][Python] remove ArgInfo::count
Summary:
This patch updates the last user of ArgInfo::count and deletes
it. I also delete `GetNumInitArguments()` and `GetInitArgInfo()`.
Classess are callables and `GetArgInfo()` should work on them.
On python 3 it already works, of course. `inspect` is good.
On python 2 we have to add yet another special case. But hey if
python 2 wasn't crufty we wouln't need python 3.
I also delete `is_bound_method` becuase it is unused.
This path is tested in `TestStepScripted.py`
Reviewers: labath, mgorny, JDevlieghere
Reviewed By: labath, JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69742
More information about the All-commits
mailing list