From 0f783599a4c645d8ae826f990f7b938fac6e5dae Mon Sep 17 00:00:00 2001 From: Lawrence D'Anna Date: Thu, 17 Oct 2019 01:35:22 +0000 Subject: delete SWIG typemaps for FILE* Summary: The SWIG typemaps for FILE* are no longer used, so this patch deletes them. Reviewers: JDevlieghere, jasonmolenda, labath Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68963 llvm-svn: 375073 --- .../Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 14 -------------- 1 file changed, 14 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 43ffd8d339b..255fa06c057 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -637,20 +637,6 @@ public: static llvm::Expected FromFile(File &file, const char *mode = nullptr); - // FIXME delete this after FILE* typemaps are deleted - // and ScriptInterpreterPython is fixed - PythonFile(File &file, const char *mode = nullptr) { - auto f = FromFile(file, mode); - if (f) - *this = std::move(f.get()); - else { - Reset(); - llvm::consumeError(f.takeError()); - } - } - - lldb::FileUP GetUnderlyingFile() const; - llvm::Expected ConvertToFile(bool borrowed = false); llvm::Expected ConvertToFileForcingUseOfScriptingIOMethods(bool borrowed = false); -- cgit v1.2.3