[flang-commits] [clang] [lld] [lldb] [llvm] [libc] [libcxx] [flang] [compiler-rt] Work around GCC test failure that is caused by enabling optimizations. (PR #73998)

via flang-commits flang-commits at lists.llvm.org
Sat Dec 2 14:18:55 PST 2023


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 7ec4f6094e54911794c142b5d88496a220d807d6 aaa004f3bd13743195865d5ab09f5ed81757b2a7 -- libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
index bc586d3d68..d0f6fbf0a1 100644
--- a/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
@@ -8,7 +8,6 @@
 //
 // REQUIRES: long_tests
 
-
 // This test is super slow, in particular with msan or tsan. In order to avoid timeouts and to
 // spend less time waiting for this particular test to complete we compile with optimizations.
 // ADDITIONAL_COMPILE_FLAGS(msan): -O1

``````````

</details>


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


More information about the flang-commits mailing list