[compiler-rt] [hwasan] Fix and re-enable deep-recursion.c (PR #69265)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 16:31:07 PDT 2023
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 910a4bf5b70ae14e7262677a8880ee98056e44e1 999d8fa570a4ca6aa5f8e2ba0233edfc4ddec357 -- compiler-rt/test/hwasan/TestCases/deep-recursion.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/hwasan/TestCases/deep-recursion.c b/compiler-rt/test/hwasan/TestCases/deep-recursion.c
index c992f205917b..9a43fb419a39 100644
--- a/compiler-rt/test/hwasan/TestCases/deep-recursion.c
+++ b/compiler-rt/test/hwasan/TestCases/deep-recursion.c
@@ -35,7 +35,7 @@ __attribute__((noinline)) void OOB() {
// around it: if the tag is zero, we use the neighboring variable instead,
// which must have a different (hence non-zero) tag.
// This tag check assumes aarch64.
- if(((unsigned long)&x) >> 56 == 0) {
+ if (((unsigned long)&x) >> 56 == 0) {
y[four] = 0;
} else {
x[four] = 0;
``````````
</details>
https://github.com/llvm/llvm-project/pull/69265
More information about the llvm-commits
mailing list