[compiler-rt] [llvm] [asan] Pre-commit test with global constructor without any global (PR #104620)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 10:31:53 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 68f6e7467651f38e0b97343bfbc49e0ce69eaedf 284c6826d4dddd092ef8d13ef4a1efe1b4907b13 --extensions cpp -- compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp b/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
index 8249abf804..adf3713b35 100644
--- a/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
+++ b/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
@@ -2,7 +2,7 @@
 // RUN: %env_asan_opts=check_initialization_order=true:strict_init_order=true not %run %t 2>&1 | FileCheck %s
 
 // Not implemented.
-// XFAIL: * 
+// XFAIL: *
 
 // Do not test with optimization -- the error may be optimized away.
 

``````````

</details>


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


More information about the llvm-commits mailing list