[compiler-rt] [compiler-rt][ASan] Remove alignment message in ASan error reporting (PR #94103)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 17:55:00 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 daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5 a02863f843d5cb778ecffd49be11096ee3facb50 --extensions cpp -- compiler-rt/lib/asan/asan_errors.cpp compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp b/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
index 6ab0eb1003..ba93121752 100644
--- a/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
+++ b/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
@@ -38,7 +38,7 @@ void BadBounds() {
 
 void UnalignedBadBounds() {
   long t[100];
-// CHECK-NOT-UNALIGNED-BAD-BOUNDS: beg is not aligned by
+  // CHECK-NOT-UNALIGNED-BAD-BOUNDS: beg is not aligned by
   __sanitizer_annotate_contiguous_container(&t[1], &t[0] + 100, &t[0] + 101,
                                             &t[0] + 50);
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/94103


More information about the llvm-commits mailing list