[Lldb-commits] [lldb] [lldb] gdb rsp file error pass fix (PR #106950)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 20 06:19:44 PDT 2024
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 0f97b4824a8cf040bd3ce7b644dee9d60065ac61 5588503e8b8f225d142681cdf21a2b7f8fc0a734 --extensions cpp -- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index f425c4647b..f1450f6d10 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -497,14 +497,14 @@ GDBRemoteCommunicationServerCommon::Handle_qSpeedTest(
}
static GDBErrno system_errno_to_gdb(int err) {
-switch (err) {
+ switch (err) {
#define HANDLE_ERRNO(name, value) \
-case name: \
- return GDB_##name;
+ case name: \
+ return GDB_##name;
#include "Plugins/Process/gdb-remote/GDBRemoteErrno.def"
-default:
- return GDB_EUNKNOWN;
-}
+ default:
+ return GDB_EUNKNOWN;
+ }
}
GDBRemoteCommunication::PacketResult
``````````
</details>
https://github.com/llvm/llvm-project/pull/106950
More information about the lldb-commits
mailing list