[libc-commits] [libc] [libc] Implemented wmemmove (PR #142245)
via libc-commits
libc-commits at lists.llvm.org
Fri May 30 17:26:19 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,h -- libc/src/wchar/wmemmove.cpp libc/src/wchar/wmemmove.h libc/test/src/wchar/wmemmove_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/wchar/wmemmove.cpp b/libc/src/wchar/wmemmove.cpp
index 2b7cf21f5..46bcb6597 100644
--- a/libc/src/wchar/wmemmove.cpp
+++ b/libc/src/wchar/wmemmove.cpp
@@ -17,7 +17,7 @@
namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(wchar_t *, wmemmove,
- (wchar_t *dest, const wchar_t *src, size_t n)) {
+ (wchar_t * dest, const wchar_t *src, size_t n)) {
LIBC_CRASH_ON_NULLPTR(dest);
LIBC_CRASH_ON_NULLPTR(src);
``````````
</details>
https://github.com/llvm/llvm-project/pull/142245
More information about the libc-commits
mailing list