[llvm] [utils/not] Disable coredumps when --crash is passed (PR #83704)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 2 19:41:07 PST 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 07317bbc66d1f2d7663af3c9f04d0f6c0487ac03 3056fcfc95e8f60e630aae3892f37f5eb9b6656e -- llvm/utils/not/not.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/utils/not/not.cpp b/llvm/utils/not/not.cpp
index 1504ee87a3..6ba59190d8 100644
--- a/llvm/utils/not/not.cpp
+++ b/llvm/utils/not/not.cpp
@@ -11,8 +11,8 @@
 //   not --crash cmd
 //     Will return true if cmd crashes (e.g. for testing crash reporting).
 
-#include "llvm/Support/Program.h"
 #include "llvm/Support/Process.h"
+#include "llvm/Support/Program.h"
 #include "llvm/Support/WithColor.h"
 #include "llvm/Support/raw_ostream.h"
 

``````````

</details>


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


More information about the llvm-commits mailing list