From 154354e60e46debb68716cde867cb4e325ce5eb7 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 1 Aug 2025 16:35:10 -0700 Subject: [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. --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') 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; } -- cgit v1.1