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 --- .../Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 5b1ffbc..74fb42a 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -436,12 +436,7 @@ void ScriptInterpreterPython::SharedLibraryDirectoryHelper( #endif } -lldb_private::ConstString ScriptInterpreterPython::GetPluginNameStatic() { - static ConstString g_name("script-python"); - return g_name; -} - -const char *ScriptInterpreterPython::GetPluginDescriptionStatic() { +llvm::StringRef ScriptInterpreterPython::GetPluginDescriptionStatic() { return "Embedded Python interpreter"; } -- cgit v1.1