[libc-commits] [libc] [libc] Fix LLVM_LIBC_FUNCTION on 32-bit x86 Windows (PR #213456)
via libc-commits
libc-commits at lists.llvm.org
Sat Aug 1 08:11:54 PDT 2026
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 origin/main HEAD --extensions h -- libc/src/__support/common.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/common.h b/libc/src/__support/common.h
index fc6e093e5..8a8ffefd3 100644
--- a/libc/src/__support/common.h
+++ b/libc/src/__support/common.h
@@ -19,8 +19,8 @@
#include "src/__support/macros/properties/compiler.h"
#include "src/__support/macros/properties/os.h"
-#if defined(__APPLE__) || \
- (defined(LIBC_TARGET_OS_IS_WINDOWS) && defined(LIBC_TARGET_ARCH_IS_X86_32))
+#if defined(__APPLE__) || (defined(LIBC_TARGET_OS_IS_WINDOWS) && \
+ defined(LIBC_TARGET_ARCH_IS_X86_32))
#define LIBC_TARGET_USES_LEADING_UNDERSCORE
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/213456
More information about the libc-commits
mailing list