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,c -- 
libcxxabi/src/cxa_personality.cpp libunwind/include/unwind_wasm.h 
libunwind/src/Unwind-wasm.c llvm/lib/CodeGen/WasmEHPrepare.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/libcxxabi/src/cxa_personality.cpp 
b/libcxxabi/src/cxa_personality.cpp
index 6423ffc10..da2d8b259 100644
--- a/libcxxabi/src/cxa_personality.cpp
+++ b/libcxxabi/src/cxa_personality.cpp
@@ -1123,8 +1123,8 @@ extern "C" _LIBCXXABI_FUNC_VIS _Unwind_Reason_Code 
__gxx_wasm_personality_v0(voi
 
   // Call personality function. Wasm does not have two-phase unwinding, so we
   // only do the search phase.
-  return __gxx_personality_imp(1, _UA_SEARCH_PHASE, 
exception_object->exception_class, exception_object,
-                               (struct _Unwind_Context*)context);
+  return __gxx_personality_imp(
+      1, _UA_SEARCH_PHASE, exception_object->exception_class, 
exception_object, (struct _Unwind_Context*)context);
 }
 #endif
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/222747
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to