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/Target/SyntheticFrameProvider.h
lldb/source/Target/SyntheticFrameProvider.cpp
lldb/include/lldb/Core/PluginManager.h lldb/include/lldb/lldb-forward.h
lldb/include/lldb/lldb-private-interfaces.h 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/include/lldb/Core/PluginManager.h
b/lldb/include/lldb/Core/PluginManager.h
index 871629ce3..ab2ca58a8 100644
--- a/lldb/include/lldb/Core/PluginManager.h
+++ b/lldb/include/lldb/Core/PluginManager.h
@@ -364,13 +364,13 @@ public:
static bool
UnregisterPlugin(SyntheticFrameProviderCreateInstance create_callback);
-
+
static bool
UnregisterPlugin(ScriptedFrameProviderCreateInstance create_callback);
static SyntheticFrameProviderCreateInstance
GetSyntheticFrameProviderCreateCallbackForPluginName(llvm::StringRef name);
-
+
static ScriptedFrameProviderCreateInstance
GetScriptedFrameProviderCreateCallbackAtIndex(uint32_t idx);
diff --git a/lldb/source/Core/PluginManager.cpp
b/lldb/source/Core/PluginManager.cpp
index d40dc8e85..4e3563cf4 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -1326,11 +1326,11 @@ bool PluginManager::RegisterPlugin(
SyntheticFrameProviderCreateInstance create_native_callback,
ScriptedFrameProviderCreateInstance create_scripted_callback) {
if (create_native_callback)
- return GetSyntheticFrameProviderInstances().RegisterPlugin(name,
description,
-
create_native_callback);
+ return GetSyntheticFrameProviderInstances().RegisterPlugin(
+ name, description, create_native_callback);
else if (create_scripted_callback)
- return GetScriptedFrameProviderInstances().RegisterPlugin(name,
description,
-
create_scripted_callback);
+ return GetScriptedFrameProviderInstances().RegisterPlugin(
+ name, description, create_scripted_callback);
return false;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/166664
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits