[llvm] [SystemZ][z/OS] Enable lit testing for z/OS (PR #107631)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 9 10:00:23 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 fedc7556ad5237cd11e29b8e70d412bdc39a4fa6 e5c806d7300263cda5638fcb7e3342a2be530cd9 --extensions cpp -- llvm/lib/Support/raw_ostream.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index 5b684a3d91..3d08240003 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/lib/Support/raw_ostream.cpp
@@ -844,8 +844,8 @@ size_t raw_fd_ostream::preferred_buffer_size() const {
return 0;
return raw_ostream::preferred_buffer_size();
#elif defined(__MVS__)
- // The buffer size on z/OS is defined with macro BUFSIZ, which can be retrieved
- // by invoking function raw_ostream::preferred_buffer_size().
+ // The buffer size on z/OS is defined with macro BUFSIZ, which can be
+ // retrieved by invoking function raw_ostream::preferred_buffer_size().
return raw_ostream::preferred_buffer_size();
#else
assert(FD >= 0 && "File not yet open!");
``````````
</details>
https://github.com/llvm/llvm-project/pull/107631
More information about the llvm-commits
mailing list