================
@@ -639,6 +640,18 @@ static ObjectFileInstances &GetObjectFileInstances() {
return g_instances;
}
+bool PluginManager::IsRegisteredPluginName(const char *name) {
+ if (!name || !name[0])
----------------
clayborg wrote:
Ask the `llvm::StringRef` if is it empty:
```
if (name.empty())
```
https://github.com/llvm/llvm-project/pull/98403
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits