diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-08-01 16:35:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 16:35:10 -0700 |
commit | 154354e60e46debb68716cde867cb4e325ce5eb7 (patch) | |
tree | 4b698554bf6f1bd03ae864d40cb31b1066b63567 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 3b92e83121e6ba23665d7f60ad5474d4c7f5fe03 (diff) | |
download | llvm-154354e60e46debb68716cde867cb4e325ce5eb7.zip llvm-154354e60e46debb68716cde867cb4e325ce5eb7.tar.gz llvm-154354e60e46debb68716cde867cb4e325ce5eb7.tar.bz2 |
[lldb] Remove unused PythonObject::Dump (NFC) (#151783)
PythonObject::Dump isn't called and uses `_PyObject_Dump`, which isn't
part of the stable API.
Part of https://github.com/llvm/llvm-project/issues/151617.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 0c484b1..45bb499 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -250,13 +250,6 @@ public: void Reset(); - void Dump() const { - if (m_py_obj) - _PyObject_Dump(m_py_obj); - else - puts("NULL"); - } - void Dump(Stream &strm) const; PyObject *get() const { return m_py_obj; } |