[compiler-rt] [libfuzzer] Prevent MSan false positive when printing log with -jobs (PR #91679)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 16:46:37 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 b3a835e129ed8a67cf393f9ee26989b36a3eff1c 3b448ad0707cb95ebdf74d331b9e17d2ed866bb7 -- compiler-rt/lib/fuzzer/FuzzerIO.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/fuzzer/FuzzerIO.cpp b/compiler-rt/lib/fuzzer/FuzzerIO.cpp
index 9e9a93a0a4..699feba645 100644
--- a/compiler-rt/lib/fuzzer/FuzzerIO.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerIO.cpp
@@ -8,10 +8,10 @@
 // IO functions.
 //===----------------------------------------------------------------------===//
 
+#include "FuzzerIO.h"
 #include "FuzzerDefs.h"
 #include "FuzzerExtFunctions.h"
 #include "FuzzerInternal.h"
-#include "FuzzerIO.h"
 #include "FuzzerUtil.h"
 #include <algorithm>
 #include <cstdarg>

``````````

</details>


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


More information about the llvm-commits mailing list