From 5f4980f004f052367b947ff3aa6cc142cea1c23f Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 22 Oct 2021 19:53:43 +0200 Subject: [lldb] Remove ConstString from Process, ScriptInterpreter and StructuredData plugin names --- lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp') diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp index 24b36747cf22..7c821e593382 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp @@ -387,12 +387,7 @@ ScriptInterpreterLua::CreateInstance(Debugger &debugger) { return std::make_shared(debugger); } -lldb_private::ConstString ScriptInterpreterLua::GetPluginNameStatic() { - static ConstString g_name("script-lua"); - return g_name; -} - -const char *ScriptInterpreterLua::GetPluginDescriptionStatic() { +llvm::StringRef ScriptInterpreterLua::GetPluginDescriptionStatic() { return "Lua script interpreter"; } -- cgit v1.2.3