diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-07-22 20:47:25 +0000 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-07-22 22:48:15 +0200 |
commit | 3d4cadfb26437bd686ca8177f5454a366fed59eb (patch) | |
tree | aad98338f6430e9d11792f476bbb7b13ad2e3977 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
parent | 9dbc4b09afd4427c2def829f0c8283f732e654a0 (diff) | |
download | llvm-3d4cadfb26437bd686ca8177f5454a366fed59eb.zip llvm-3d4cadfb26437bd686ca8177f5454a366fed59eb.tar.gz llvm-3d4cadfb26437bd686ca8177f5454a366fed59eb.tar.bz2 |
[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 <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint64_t> GetGenericInteger(llvm::StringRef method_name); Status GetStatusFromMethod(llvm::StringRef method_name); private: |