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/Target.h lldb/source/Target/Target.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/Target/Target.cpp b/lldb/source/Target/Target.cpp
index fe8e41ec4..da1ed475d 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -3733,7 +3733,8 @@ llvm::Expected<uint32_t> 
Target::AddScriptedFrameProviderDescriptor(
         "frame provider descriptor has no class name");
 
   {
-    std::unique_lock<std::recursive_mutex> 
guard(m_frame_provider_descriptors_mutex);
+    std::unique_lock<std::recursive_mutex> guard(
+        m_frame_provider_descriptors_mutex);
     m_frame_provider_descriptors[descriptor_id] = descriptor;
   }
 
@@ -3750,7 +3751,8 @@ bool 
Target::RemoveScriptedFrameProviderDescriptor(uint32_t id) {
     removed = m_frame_provider_descriptors.erase(id);
   }
 
-  if (removed) NotifyThreadsOfChangedFrameProviders();
+  if (removed)
+    NotifyThreadsOfChangedFrameProviders();
   return removed;
 }
 

``````````

</details>


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

Reply via email to