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 46200fcf941d16bc8a494a3915e1178502e37a3e 
edabcb3b43800c3e12a55325a786600064ccde10 --extensions hpp -- 
libunwind/src/UnwindCursor.hpp
``````````

</details>

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

``````````diff
diff --git a/libunwind/src/UnwindCursor.hpp b/libunwind/src/UnwindCursor.hpp
index 8869be5236..60079bd9cd 100644
--- a/libunwind/src/UnwindCursor.hpp
+++ b/libunwind/src/UnwindCursor.hpp
@@ -2143,8 +2143,7 @@ bool UnwindCursor<A, R>::getInfoFromTBTable(pint_t pc, R 
&registers) {
         int saveErrno = errno;
         libHandle = dlopen(libcxxabi, RTLD_MEMBER | RTLD_NOW);
         if (libHandle == NULL) {
-          _LIBUNWIND_TRACE_UNWINDING("dlopen() failed with errno=%d\n",
-                                     errno);
+          _LIBUNWIND_TRACE_UNWINDING("dlopen() failed with errno=%d\n", errno);
           assert(0 && "dlopen() failed");
         }
         xlcPersonalityV0 = reinterpret_cast<__xlcxx_personality_v0_t *>(

``````````

</details>


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

Reply via email to