[Lldb-commits] [lldb] [lldb] List registered extensions in `help scripting-extension` (PR #232891)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 16 11:50:01 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- lldb/include/lldb/Core/PluginManager.h lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h lldb/source/Commands/CommandOptionArgumentTable.cpp lldb/source/Core/PluginManager.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp
index 03eccd789..b9392a16d 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -19,8 +19,8 @@
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StringList.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/SmallSet.h"
+#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Support/ErrorExtras.h"
@@ -2130,8 +2130,7 @@ PluginManager::GetScriptedInterfaceUsagesAtIndex(uint32_t idx) {
}
void PluginManager::ForEachScriptedExtension(
- llvm::function_ref<void(lldb::ScriptedExtension, llvm::StringRef)>
- callback,
+ llvm::function_ref<void(lldb::ScriptedExtension, llvm::StringRef)> callback,
lldb::ScriptLanguage language) {
llvm::SmallSet<lldb::ScriptedExtension, 16> emitted;
for (size_t idx = 0; idx < GetNumScriptedInterfaces(); idx++) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/232891
More information about the lldb-commits
mailing list