[libc-commits] [libc] Fixes #86579 (PR #114939)

via libc-commits libc-commits at lists.llvm.org
Tue Nov 5 06:45:10 PST 2024


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 97b7474970b3bb6af4c63782c408a1fd14468e29 0be8e52af2621d974a700b2c74bd808db9f4c9d1 --extensions h -- libc/src/string/memory_utils/inline_bcmp.h libc/src/string/memory_utils/inline_bzero.h libc/src/string/memory_utils/inline_memmove.h libc/src/string/memory_utils/inline_strcmp.h libc/src/string/memory_utils/inline_strstr.h libc/src/string/memory_utils/op_aarch64.h libc/src/string/memory_utils/op_builtin.h libc/src/string/memory_utils/op_generic.h libc/src/string/memory_utils/op_riscv.h libc/src/string/memory_utils/op_x86.h
``````````

</details>

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

``````````diff
diff --git a/libc/src/string/memory_utils/inline_bcmp.h b/libc/src/string/memory_utils/inline_bcmp.h
index 84470dac76..846834edd9 100644
--- a/libc/src/string/memory_utils/inline_bcmp.h
+++ b/libc/src/string/memory_utils/inline_bcmp.h
@@ -10,7 +10,7 @@
 #define LLVM_LIBC_SRC_STRING_MEMORY_UTILS_INLINE_BCMP_H
 
 #include "src/__support/common.h"
-#include "src/__support/macros/attributes.h" // LIBC_INLINE
+#include "src/__support/macros/attributes.h"               // LIBC_INLINE
 #include "src/__support/macros/properties/architectures.h" // LIBC_TARGET_ARCH_IS_
 
 #include <stddef.h> // size_t

``````````

</details>


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


More information about the libc-commits mailing list