https://github.com/mbucko created https://github.com/llvm/llvm-project/pull/114120
None >From 3c831942c752004a6e46c1f5ddd5e783ee2176e0 Mon Sep 17 00:00:00 2001 From: Miro Bucko <mbu...@meta.com> Date: Tue, 29 Oct 2024 13:02:21 -0700 Subject: [PATCH] Fix return value of 'PluginManager::RegisterPlugin()'. --- lldb/source/Core/PluginManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp index a5219025495a91..50bbfba33ee512 100644 --- a/lldb/source/Core/PluginManager.cpp +++ b/lldb/source/Core/PluginManager.cpp @@ -209,7 +209,7 @@ template <typename Instance> class PluginInstances { Instance instance = Instance(name, description, callback, std::forward<Args>(args)...); m_instances.push_back(instance); - return false; + return true; } bool UnregisterPlugin(typename Instance::CallbackType callback) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits