aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-10-22 19:53:43 +0200
committerPavel Labath <pavel@labath.sk>2021-10-28 10:15:03 +0200
commit5f4980f004f052367b947ff3aa6cc142cea1c23f (patch)
tree8973a3868e124c15c18e1030c06e8012ad99cb6a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent21adcdb712c6c8018d6eabf70c44212f92c8274e (diff)
downloadllvm-5f4980f004f052367b947ff3aa6cc142cea1c23f.zip
llvm-5f4980f004f052367b947ff3aa6cc142cea1c23f.tar.gz
llvm-5f4980f004f052367b947ff3aa6cc142cea1c23f.tar.bz2
[lldb] Remove ConstString from Process, ScriptInterpreter and StructuredData plugin names
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
index 5a75c0a..83cc15d 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
@@ -48,8 +48,8 @@ public:
static void Initialize();
static void Terminate();
- static lldb_private::ConstString GetPluginNameStatic();
- static const char *GetPluginDescriptionStatic();
+ static llvm::StringRef GetPluginNameStatic() { return "script-python"; }
+ static llvm::StringRef GetPluginDescriptionStatic();
static FileSpec GetPythonDir();
static void SharedLibraryDirectoryHelper(FileSpec &this_file);