[all-commits] [llvm/llvm-project] 722b61: eliminate nontrivial Reset(...) from TypedPythonOb...

llvm-git-migration via All-commits all-commits at lists.llvm.org
Sat Oct 19 11:42:35 PDT 2019


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

  Changed paths:
    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:
  -----------
  eliminate nontrivial Reset(...) from TypedPythonObject

Summary:
This deletes `Reset(...)`, except for the no-argument form `Reset()`
from `TypedPythonObject`, and therefore from `PythonString`, `PythonList`,
etc.

It updates the various callers to use assignment, `As<>`, `Take<>`,
and `Retain<>`, as appropriate.

followon to https://reviews.llvm.org/D69080

Reviewers: JDevlieghere, clayborg, labath, jingham

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

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

llvm-svn: 375350




More information about the All-commits mailing list