diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-28 13:34:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-28 13:34:42 +0200 |
| commit | 7ab3997970cf10ed67c68e8e492dce0b15405069 (patch) | |
| tree | 129298bc87675d588ffd5ce4b57077130522ac04 /compiler/rustc_codegen_llvm/src | |
| parent | a7771385e5ddf0c0ebf21c3ba712ca1a5883d535 (diff) | |
| parent | 4aafec1bc1c1cb860f38fad9e4d11f37f38c573f (diff) | |
| download | rust-7ab3997970cf10ed67c68e8e492dce0b15405069.tar.gz rust-7ab3997970cf10ed67c68e8e492dce0b15405069.zip | |
Rollup merge of #124463 - gurry:rename-func, r=TaKO8Ki
Rename `inhibit_union_abi_opt()` to `inhibits_union_abi_opt()`
`inihibit` seems to suggest that this function will inhibit optimizations whereas `inhibits` correctly indicates that it will merely _check_ that. With `inhibits` if conditions read more naturally e.g.:
```rust
if repr.inhibits_union_abi_opt() {
}
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
