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 89636904337efe75ef6e0743e4f098f0d5b5ab56 
ca71c43fcbcf71f90f1a33b0a79c56a1502c2b98 -- 
compiler-rt/test/hwasan/TestCases/stack-overflow.c 
compiler-rt/test/hwasan/TestCases/stack-underflow.c 
compiler-rt/lib/hwasan/hwasan_report.cpp 
compiler-rt/test/hwasan/TestCases/stack-uar-dynamic.c 
compiler-rt/test/hwasan/TestCases/stack-uar.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/hwasan/TestCases/stack-overflow.c 
b/compiler-rt/test/hwasan/TestCases/stack-overflow.c
index ba3e00551f..304e84b7d4 100644
--- a/compiler-rt/test/hwasan/TestCases/stack-overflow.c
+++ b/compiler-rt/test/hwasan/TestCases/stack-overflow.c
@@ -3,8 +3,7 @@
 // Stack histories currently are not recorded on x86.
 // XFAIL: target=x86_64{{.*}}
 
-__attribute((noinline))
-void buggy() {
+__attribute((noinline)) void buggy() {
   char c[64];
   char *volatile p = c;
   p[65] = 0;
diff --git a/compiler-rt/test/hwasan/TestCases/stack-underflow.c 
b/compiler-rt/test/hwasan/TestCases/stack-underflow.c
index 131140ce35..8e7e05f7e0 100644
--- a/compiler-rt/test/hwasan/TestCases/stack-underflow.c
+++ b/compiler-rt/test/hwasan/TestCases/stack-underflow.c
@@ -3,8 +3,7 @@
 // Stack histories currently are not recorded on x86.
 // XFAIL: target=x86_64{{.*}}
 
-__attribute((noinline))
-void buggy() {
+__attribute((noinline)) void buggy() {
   char c[64];
   char *volatile p = c;
   p[-2] = 0;

``````````

</details>


https://github.com/llvm/llvm-project/pull/76133
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to