[clang] [llvm] [SystemZ][z/OS] __ptr32 support for z/OS in Clang (PR #96063)
Zibi Sarbinowski via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 19 06:47:17 PDT 2024
================
@@ -59,6 +59,14 @@ static std::string computeDataLayout(const Triple &TT) {
// Data mangling.
Ret += DataLayout::getManglingComponent(TT);
+ // Special features for z/OS.
+ if (TT.isOSzOS()) {
+ if (TT.isArch64Bit()) {
----------------
zibi2 wrote:
You can collapse these 2 `if` statements into one.
https://github.com/llvm/llvm-project/pull/96063
More information about the cfe-commits
mailing list