[all-commits] [llvm/llvm-project] 04edd1: remove multi-argument form of PythonObject::Reset()

llvm-git-migration via All-commits all-commits at lists.llvm.org
Mon Oct 21 19:31:22 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04edd1893c2d0f35880fd5f81e78dc23979df0b9
      https://github.com/llvm/llvm-project/commit/04edd1893c2d0f35880fd5f81e78dc23979df0b9
  Author: Lawrence D'Anna <lawrence_danna at apple.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/scripts/Python/python-extensions.swig
    M lldb/scripts/Python/python-typemaps.swig
    M lldb/scripts/Python/python-wrapper.swig
    M lldb/scripts/lldb.swig
    M lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    R lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp
    R lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt
    M lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
    R lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list