From 3d4cadfb26437bd686ca8177f5454a366fed59eb Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Thu, 22 Jul 2021 20:47:25 +0000 Subject: [lldb/Interpreter] Conform ScriptedProcessPythonInterface to SWIG python types This patch should address the compiler warnings due to mismatch type comparaison. Differential Revision: https://reviews.llvm.org/D105788 Signed-off-by: Med Ismail Bennani --- .../Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h index 5d53462..1b5f347 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h @@ -51,7 +51,7 @@ public: bool IsAlive() override; protected: - size_t GetGenericInteger(llvm::StringRef method_name); + llvm::Optional GetGenericInteger(llvm::StringRef method_name); Status GetStatusFromMethod(llvm::StringRef method_name); private: -- cgit v1.1