[compiler-rt] Test diff, please ignore (PR #101349)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 08:21:11 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 d1d9064cdf6400bfee178d828ceb3072b27e55de --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 b0171fc2a1..fa2715d0d3 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() {
char t[100];
-// CHECK-NOT-UNALIGNED-BAD-BOUNDS-NOT: beg is not aligned by
+ // CHECK-NOT-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/101349
More information about the llvm-commits
mailing list