[compiler-rt] [compiler-rt] Fix #83679 for macos sdk < 13.0 (PR #109946)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 03:06:07 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 5a038230b0a61acb9ec6f6fdd380c7d3c8c3d673 b176146dbc96d65395ade366493fdf09600e0324 --extensions h -- compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index cec7478dab..d4cc380f64 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -608,9 +608,9 @@
#define SANITIZER_INTERCEPT_PWRITEV2 (SI_LINUX && __GLIBC_PREREQ(2, 26))
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && \
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 130000
-#define SI_MAC_DEPLOYMENT_BELOW_13_00 1
+# define SI_MAC_DEPLOYMENT_BELOW_13_00 1
#else
-#define SI_MAC_DEPLOYMENT_BELOW_13_00 0
+# define SI_MAC_DEPLOYMENT_BELOW_13_00 0
#endif
#define SANITIZER_INTERCEPT_FREADLINK (SI_MAC && !SI_MAC_DEPLOYMENT_BELOW_13_00)
``````````
</details>
https://github.com/llvm/llvm-project/pull/109946
More information about the llvm-commits
mailing list