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 HEAD~1 HEAD --extensions cpp -- 
lldb/test/Shell/Register/Core/Inputs/tkill.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/Shell/Register/Core/Inputs/tkill.cpp 
b/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
index 79310c7f2..677bd3e6c 100644
--- a/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
+++ b/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
@@ -1,10 +1,10 @@
-#include <sys/syscall.h>
 #include <signal.h>
+#include <sys/syscall.h>
 
 int main() {
-    // Get the current thread ID
-    pid_t tid = syscall(SYS_gettid);
-    // Send a SIGSEGV signal to the current thread
-    syscall(SYS_tkill, tid, SIGSEGV);
-    return 0;
+  // Get the current thread ID
+  pid_t tid = syscall(SYS_gettid);
+  // Send a SIGSEGV signal to the current thread
+  syscall(SYS_tkill, tid, SIGSEGV);
+  return 0;
 }

``````````

</details>


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

Reply via email to