[lldb] Remove ConstString from GetPluginNameStatic of some plugins
This patch deals with ObjectFile, ObjectContainer and OperatingSystem plugins. I'll convert the other types in separate patches. In order to enable piecemeal conversion, I am leaving some ConstStrings in the lowest PluginManager layers. I'll convert those as the last step. Differential Revision: https://reviews.llvm.org/D112061
This commit is contained in:
@@ -65,12 +65,7 @@ OperatingSystem *OperatingSystemPython::CreateInstance(Process *process,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ConstString OperatingSystemPython::GetPluginNameStatic() {
|
||||
static ConstString g_name("python");
|
||||
return g_name;
|
||||
}
|
||||
|
||||
const char *OperatingSystemPython::GetPluginDescriptionStatic() {
|
||||
llvm::StringRef OperatingSystemPython::GetPluginDescriptionStatic() {
|
||||
return "Operating system plug-in that gathers OS information from a python "
|
||||
"class that implements the necessary OperatingSystem functionality.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user