From 5ddd4fc5a65a452dffa2d27ad6a5c04d148d6234 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 15 Jun 2020 21:15:35 -0700 Subject: [PATCH] [lldb/Lua] Fix override/virtual in ScriptInterpreterLua (NFC) --- .../Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp | 2 +- .../source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp index f9b24ad83de51..bcb33ae8c3768 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp @@ -33,7 +33,7 @@ class IOHandlerLuaInterpreter : public IOHandlerDelegate, llvm::cantFail(m_script_interpreter.EnterSession(debugger.GetID())); } - ~IOHandlerLuaInterpreter() { + ~IOHandlerLuaInterpreter() override { llvm::cantFail(m_script_interpreter.LeaveSession()); } diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h index 4e922151385b6..bcc6ab24f6d0b 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h @@ -25,7 +25,7 @@ class ScriptInterpreterLua : public ScriptInterpreter { void ExecuteInterpreterLoop() override; - virtual bool + bool LoadScriptingModule(const char *filename, bool init_session, lldb_private::Status &error, StructuredData::ObjectSP *module_sp = nullptr) override;