[libunwind] [libunwind] Add unw_strerror function (PR #129084)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 27 09:41:40 PST 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 d91e5c301353b012b338aa9920a941d8b5fc28a4 b976a982b6ea9963bd88744b8ca1314852948a60 --extensions h,cpp -- libunwind/include/libunwind.h libunwind/src/libunwind.cpp libunwind/src/libunwind_ext.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libunwind/src/libunwind_ext.h b/libunwind/src/libunwind_ext.h
index b157a24300..ad9d15237f 100644
--- a/libunwind/src/libunwind_ext.h
+++ b/libunwind/src/libunwind_ext.h
@@ -31,7 +31,7 @@ extern int __unw_get_fpreg(unw_cursor_t *, unw_regnum_t, unw_fpreg_t *);
extern int __unw_set_reg(unw_cursor_t *, unw_regnum_t, unw_word_t);
extern int __unw_set_fpreg(unw_cursor_t *, unw_regnum_t, unw_fpreg_t);
extern int __unw_resume(unw_cursor_t *);
-extern const char* __unw_strerror(int);
+extern const char *__unw_strerror(int);
#ifdef __arm__
/* Save VFP registers in FSTMX format (instead of FSTMD). */
``````````
</details>
https://github.com/llvm/llvm-project/pull/129084
More information about the cfe-commits
mailing list