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 67268da61aa2f8b24172907ee6f8d9250ee18b65 
97a6e23c85457a14c91c5800fa03bb872e6f1fa6 -- 
lldb/source/Commands/CommandObjectThread.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Commands/CommandObjectThread.cpp 
b/lldb/source/Commands/CommandObjectThread.cpp
index 9384df319c..cbd87d2607 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -1227,9 +1227,9 @@ protected:
 
     Thread *new_thread = nullptr;
     if (m_options.m_thread_id) {
-        new_thread = process->GetThreadList().FindThreadByID(index_id).get();
+      new_thread = process->GetThreadList().FindThreadByID(index_id).get();
     } else {
-        new_thread = 
process->GetThreadList().FindThreadByIndexID(index_id).get();
+      new_thread = 
process->GetThreadList().FindThreadByIndexID(index_id).get();
     }
     if (new_thread == nullptr) {
       result.AppendErrorWithFormat("invalid thread %s%s.\n",

``````````

</details>


https://github.com/llvm/llvm-project/pull/73596
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to