[libc-commits] [libc] [libc] add remarks to the setjmp implementation (PR #137066)
via libc-commits
libc-commits at lists.llvm.org
Wed Apr 23 14:49:10 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 cpp -- libc/src/setjmp/x86_64/setjmp.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/setjmp/x86_64/setjmp.cpp b/libc/src/setjmp/x86_64/setjmp.cpp
index d24fbc563..66d13166d 100644
--- a/libc/src/setjmp/x86_64/setjmp.cpp
+++ b/libc/src/setjmp/x86_64/setjmp.cpp
@@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//
// We use naked functions to avoid compiler-generated prologue and epilogue.
-// Despite GCC documentation listing this as an unsupported case for extended
-// asm, the generated code is not wrong as we only pass in constant operands
+// Despite GCC documentation listing this as an unsupported case for extended
+// asm, the generated code is not wrong as we only pass in constant operands
// to extended asm.
// See https://github.com/llvm/llvm-project/issues/137055 for related remarks.
``````````
</details>
https://github.com/llvm/llvm-project/pull/137066
More information about the libc-commits
mailing list