[libc-commits] [libc] [libc] temporaliy disable __USE_EXTERN_INLINES and set __USE_FORITFY_LEVEL to 1 before including in overlay mode (PR #113012)
via libc-commits
libc-commits at lists.llvm.org
Fri Oct 18 18:49:16 PDT 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 f7b6dc821ad2aa02e027db76f193b85a87443e0b e2d42841909d26dc2b50710489c14a1e2ef9d8f3 --extensions h -- libc/hdr/stdio_overlay.h libc/hdr/wchar_overlay.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/hdr/wchar_overlay.h b/libc/hdr/wchar_overlay.h
index 4efe980acf..5d4af085e8 100644
--- a/libc/hdr/wchar_overlay.h
+++ b/libc/hdr/wchar_overlay.h
@@ -62,7 +62,7 @@
#endif
#ifdef LIBC_OLD_USE_EXTERN_INLINES
-#define __USE_EXTERN_INLINES
+#define __USE_EXTERN_INLINES
#undef LIBC_OLD_USE_EXTERN_INLINES
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/113012
More information about the libc-commits
mailing list