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 -- 
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 6b84227a6..abbdd62b9 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -606,7 +606,8 @@ public:
   // Return a field from the enabled instance with the given name, or
   // default_val if none.
   template <typename Ret, typename Callback>
-  Ret GetFieldForName(llvm::StringRef name, Ret default_val, Callback 
callback) {
+  Ret GetFieldForName(llvm::StringRef name, Ret default_val,
+                      Callback callback) {
     if (name.empty())
       return default_val;
     std::lock_guard<std::mutex> lock(m_mutex);

``````````

</details>


https://github.com/llvm/llvm-project/pull/184452
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to