summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h')
-rw-r--r--lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
index caa94af1f30e..308fd82e9b12 100644
--- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
+++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
@@ -30,7 +30,7 @@ public:
static void Terminate();
- static ConstString GetStaticPluginName();
+ static llvm::StringRef GetStaticPluginName() { return "darwin-log"; }
/// Return whether the DarwinLog functionality is enabled.
///
@@ -46,9 +46,7 @@ public:
// PluginInterface API
- ConstString GetPluginName() override;
-
- uint32_t GetPluginVersion() override;
+ llvm::StringRef GetPluginName() override { return GetStaticPluginName(); }
// StructuredDataPlugin API