diff options
| author | Pavel Labath <pavel@labath.sk> | 2021-10-21 20:13:45 +0200 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2021-10-27 08:25:44 +0200 |
| commit | 49481b538065a0ba5ba1d7cc901eeceb8bf344c0 (patch) | |
| tree | bfb7b15a1cf4c7570a1d12230395e1ef880c2416 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h | |
| parent | eb55c1f1536e36f86d4f7ee34225f12ee2867bf5 (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.h | 6 |
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); |
