summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-10-21 20:13:45 +0200
committerPavel Labath <pavel@labath.sk>2021-10-27 08:25:44 +0200
commit49481b538065a0ba5ba1d7cc901eeceb8bf344c0 (patch)
treebfb7b15a1cf4c7570a1d12230395e1ef880c2416 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
parenteb55c1f1536e36f86d4f7ee34225f12ee2867bf5 (diff)
Remove ConstString from Language, LanguageRuntime, SystemRuntime and SymbolFile plugin names
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
index 66553fddc4ec..4ddf996dedb2 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
@@ -318,7 +318,7 @@ public:
static lldb::CommandObjectSP
GetCommandObject(CommandInterpreter &interpreter);
- static lldb_private::ConstString GetPluginNameStatic();
+ static llvm::StringRef GetPluginNameStatic() { return "renderscript"; }
static char ID;
@@ -410,9 +410,7 @@ public:
bool GetOverrideExprOptions(clang::TargetOptions &prototype);
// PluginInterface protocol
- llvm::StringRef GetPluginName() override {
- return GetPluginNameStatic().GetStringRef();
- }
+ llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
static bool GetKernelCoordinate(lldb_renderscript::RSCoordinate &coord,
Thread *thread_ptr);