diff options
| author | Alex Langford <alangford@apple.com> | 2023-09-19 10:49:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 10:49:38 -0700 |
| commit | 45e6e4d70e1e5bdd7d9f04dfd0f4cc8798bcde0c (patch) | |
| tree | 4ff6365b3f69e2e0bc89d5f6d4bb41245f756c00 /lldb/source/Plugins/Trace | |
| parent | de37d965da4e37d53de6bc6309596d96be126e77 (diff) | |
[lldb][NFCI] Remove unneeded ConstString from intel-pt plugin (#66721)
This is a follow-up to 14d95b26aee0ac0ac8a70252e8a3c7a986e0e812. I would
have changed it in that commit, but I don't build the intel-pt plugin so
I didn't see this until later.
Diffstat (limited to 'lldb/source/Plugins/Trace')
| -rw-r--r-- | lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 4 | ||||
| -rw-r--r-- | lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp index bcac731713bb..015faa89fcfa 100644 --- a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp +++ b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp @@ -48,8 +48,8 @@ enum { #include "TraceIntelPTPropertiesEnum.inc" }; -ConstString TraceIntelPT::PluginProperties::GetSettingName() { - return ConstString(TraceIntelPT::GetPluginNameStatic()); +llvm::StringRef TraceIntelPT::PluginProperties::GetSettingName() { + return TraceIntelPT::GetPluginNameStatic(); } TraceIntelPT::PluginProperties::PluginProperties() : Properties() { diff --git a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h index 20faabdce790..da9cefe9ed95 100644 --- a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h +++ b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h @@ -26,7 +26,7 @@ public: /// Properties to be used with the `settings` command. class PluginProperties : public Properties { public: - static ConstString GetSettingName(); + static llvm::StringRef GetSettingName(); PluginProperties(); |
