diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-23 09:49:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 09:49:19 +0100 |
| commit | 9b40bd70de93701c1d180aefcf12dc57fe525350 (patch) | |
| tree | 01edf9dd78fa7de8c0df099af2dd6f2b2c270e72 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 73dc08d470b3fcad4eb247a853b67575982b32c1 (diff) | |
| parent | cd2ecc4b5007c128441d6fdc645a1e0f47808666 (diff) | |
| download | rust-9b40bd70de93701c1d180aefcf12dc57fe525350.tar.gz rust-9b40bd70de93701c1d180aefcf12dc57fe525350.zip | |
Rollup merge of #135552 - amy-kwan:amy-kwan/reprc-struct-diagnostic-power-alignment, r=workingjubilee
[AIX] Lint on structs that have a different alignment in AIX's C ABI This PR adds a linting diagnostic on AIX for repr(C) structs that are required to follow the power alignment rule. A repr(C) struct needs to follow the power alignment rule if the struct: - Has a floating-point data type (greater than 4-bytes) as its first member, or - The first member of the struct is an aggregate, whose recursively first member is a floating-point data type (greater than 4-bytes). The power alignment rule for eligible structs is currently unimplemented, so a linting diagnostic is produced when such a struct is encountered.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
