[compiler-rt] [compiler-rt][test] Rewrote test to remove curly braces (PR #105696)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 10:04:17 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 2b959bd7f21bc7550a99fb160997002b7e4f1b62 bf135968d1a6c8d7c8d387b888a6f2dccf61ecd2 --extensions c -- compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
index f17d2c9324..0ac7558b4e 100644
--- a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
+++ b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
@@ -1,7 +1,7 @@
// RUN: %clangxx_asan -xc++ -shared -fPIC -o %t.so - < %s
// RUN: %clang_asan %s -o %t.out -ldl
//
-// RUN: env ASAN_OPTIONS=verbosity=1 %t.out %t.so 2>&1 | FileCheck %s || :
+// RUN: env ASAN_OPTIONS=verbosity=1 %t.out %t.so 2>&1 | FileCheck %s || :
//
// CHECK: AddressSanitizer: failed to intercept '__cxa_throw'
//
``````````
</details>
https://github.com/llvm/llvm-project/pull/105696
More information about the llvm-commits
mailing list