about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-28 13:34:42 +0200
committerGitHub <noreply@github.com>2024-04-28 13:34:42 +0200
commit7ab3997970cf10ed67c68e8e492dce0b15405069 (patch)
tree129298bc87675d588ffd5ce4b57077130522ac04 /compiler/rustc_codegen_llvm/src
parenta7771385e5ddf0c0ebf21c3ba712ca1a5883d535 (diff)
parent4aafec1bc1c1cb860f38fad9e4d11f37f38c573f (diff)
downloadrust-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