remove multi-argument form of PythonObject::Reset()
authorLawrence D'Anna <lawrence_danna@apple.com>
Tue, 22 Oct 2019 02:32:37 +0000 (02:32 +0000)
committerLawrence D'Anna <lawrence_danna@apple.com>
Tue, 22 Oct 2019 02:32:37 +0000 (02:32 +0000)
commit04edd1893c2d0f35880fd5f81e78dc23979df0b9
tree3cf81a16415feb717f0c566e804a8ddbdb87db06
parentb94ac8a2632968d3961d528faa75d68a517b3bc4
remove multi-argument form of PythonObject::Reset()

Summary:
With this patch, only the no-argument form of `Reset()` remains in
PythonDataObjects.   It also deletes PythonExceptionState in favor of
PythonException, because the only call-site of PythonExceptionState was
also using Reset, so I cleaned up both while I was there.

Reviewers: JDevlieghere, clayborg, labath, jingham

Reviewed By: labath

Subscribers: mgorny, lldb-commits

Tags: #lldb

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

llvm-svn: 375475
15 files changed:
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/scripts/Python/python-extensions.swig
lldb/scripts/Python/python-typemaps.swig
lldb/scripts/Python/python-wrapper.swig
lldb/scripts/lldb.swig
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp [deleted file]
lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h [deleted file]
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt
lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp [deleted file]