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/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_powerpc.cpp
lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_powerpc.h
lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_ppc64le.cpp
lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_ppc64le.h
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.h
lldb/source/Plugins/Process/FreeBSDKernel/ThreadFreeBSDKernel.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/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
b/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
index 730abe54c..59bb9b4fd 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
@@ -49,9 +49,7 @@ RegisterInfoPOSIX_powerpc::RegisterInfoPOSIX_powerpc(
m_register_info_p(GetRegisterInfoPtr(target_arch)),
m_register_info_count(GetRegisterInfoCount(target_arch)) {}
-size_t RegisterInfoPOSIX_powerpc::GetGPRSize() const {
- return sizeof(GPR);
-}
+size_t RegisterInfoPOSIX_powerpc::GetGPRSize() const { return sizeof(GPR); }
const lldb_private::RegisterInfo *
RegisterInfoPOSIX_powerpc::GetRegisterInfo() const {
``````````
</details>
https://github.com/llvm/llvm-project/pull/180669
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits