[compiler-rt] Test PR, please ignore (PR #100439)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 10:59:06 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 25f0381ba128e012e494701286450a374bf366a8 ffaad7310f8d0901e85f8992aa75f8bf7ba96c48 --extensions 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 1a023bdd97..a5e9041c48 100644
--- a/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
+++ b/compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
@@ -38,8 +38,8 @@ void BadBounds() {
void UnalignedBadBounds() {
long t[100];
-// CHECK-UNALIGNED-BAD-BOUNDS: ERROR: AddressSanitizer: bad parameters to __sanitizer_annotate_contiguous_container
-// CHECK-UNALIGNED-BAD-BOUNDS-NOT: beg is not aligned by
+ // CHECK-UNALIGNED-BAD-BOUNDS: ERROR: AddressSanitizer: bad parameters to __sanitizer_annotate_contiguous_container
+ // CHECK-UNALIGNED-BAD-BOUNDS-NOT: 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/100439
More information about the llvm-commits
mailing list