[clang] [z/OS] Set the default arch for z/OS to be arch10 (PR #89854)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 10:59:31 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 2ace7bdcfe640c69bd4dcf508d39485e0ef7ea06 fe5ad9c1bc0b1c0d60451f017d7ec7a8233aaf26 -- clang/lib/Basic/Targets/SystemZ.h clang/lib/Driver/ToolChains/Arch/SystemZ.cpp clang/lib/Driver/ToolChains/Arch/SystemZ.h clang/lib/Driver/ToolChains/CommonArgs.cpp clang/lib/Driver/ToolChains/Gnu.cpp clang/test/Preprocessor/predefined-arch-macros.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Basic/Targets/SystemZ.h b/clang/lib/Basic/Targets/SystemZ.h
index 15df4f3df6..a6e08ea993 100644
--- a/clang/lib/Basic/Targets/SystemZ.h
+++ b/clang/lib/Basic/Targets/SystemZ.h
@@ -32,8 +32,7 @@ class LLVM_LIBRARY_VISIBILITY SystemZTargetInfo : public TargetInfo {
public:
SystemZTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
- : TargetInfo(Triple),
- ISARevision(getISARevision("z10")),
+ : TargetInfo(Triple), ISARevision(getISARevision("z10")),
HasTransactionalExecution(false), HasVector(false), SoftFloat(false),
UnalignedSymbols(false) {
IntMaxType = SignedLong;
``````````
</details>
https://github.com/llvm/llvm-project/pull/89854
More information about the cfe-commits
mailing list