[clang] [mlir] [SystemZ][CIR] Fix tests failing on z/OS (PR #246554)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 26 21:05:38 PST 2026
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 origin/main HEAD --extensions cpp,h -- clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp clang/test/CIR/emit-actions.cpp clang/tools/cir-offload-merge/cir-offload-merge.cpp mlir/include/mlir/Support/FileUtilities.h mlir/lib/Parser/Parser.cpp mlir/lib/Support/FileUtilities.cpp mlir/lib/Tools/mlir-opt/MlirOptMain.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Support/FileUtilities.h b/mlir/include/mlir/Support/FileUtilities.h
index 4d572dabb..255d57a1c 100644
--- a/mlir/include/mlir/Support/FileUtilities.h
+++ b/mlir/include/mlir/Support/FileUtilities.h
@@ -44,7 +44,6 @@ openInputFile(llvm::StringRef inputFilename, llvm::Align alignment,
std::unique_ptr<llvm::ToolOutputFile>
openOutputFile(llvm::StringRef outputFilename,
std::string *errorMessage = nullptr, bool isText = false);
-
} // namespace mlir
#endif // MLIR_SUPPORT_FILEUTILITIES_H_
``````````
</details>
https://github.com/llvm/llvm-project/pull/246554
More information about the cfe-commits
mailing list