[libc-commits] [libc] [libc] Add wasm support for some submodules in llvm-libc. (PR #154383)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 19 10:00:12 PDT 2025


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 h,cpp -- libc/src/setjmp/wasm/sigsetjmp.cpp libc/src/__support/StringUtil/platform_errors.h libc/src/__support/StringUtil/tables/posix_errors.h libc/src/__support/StringUtil/tables/stdc_errors.h libc/src/__support/macros/properties/architectures.h
``````````

</details>

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

``````````diff
diff --git a/libc/src/setjmp/wasm/sigsetjmp.cpp b/libc/src/setjmp/wasm/sigsetjmp.cpp
index 809356d45..f3875c892 100644
--- a/libc/src/setjmp/wasm/sigsetjmp.cpp
+++ b/libc/src/setjmp/wasm/sigsetjmp.cpp
@@ -9,6 +9,6 @@
 
 namespace LIBC_NAMESPACE_DECL {
 [[gnu::returns_twice]] int sigsetjmp(jmp_buf sigjmp_buf, int savesigs) {
-    return setjmp(sigjmp_buf);
-}
+  return setjmp(sigjmp_buf);
 }
+} // namespace LIBC_NAMESPACE_DECL

``````````

</details>


https://github.com/llvm/llvm-project/pull/154383


More information about the libc-commits mailing list