[Lldb-commits] [lldb] 5ddd4fc - [lldb/Lua] Fix override/virtual in ScriptInterpreterLua (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 15 21:15:45 PDT 2020
Author: Jonas Devlieghere
Date: 2020-06-15T21:15:35-07:00
New Revision: 5ddd4fc5a65a452dffa2d27ad6a5c04d148d6234
URL: https://github.com/llvm/llvm-project/commit/5ddd4fc5a65a452dffa2d27ad6a5c04d148d6234
DIFF: https://github.com/llvm/llvm-project/commit/5ddd4fc5a65a452dffa2d27ad6a5c04d148d6234.diff
LOG: [lldb/Lua] Fix override/virtual in ScriptInterpreterLua (NFC)
Added:
Modified:
lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
index f9b24ad83de5..bcb33ae8c376 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 4e922151385b..bcc6ab24f6d0 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;
More information about the lldb-commits
mailing list