about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-02-27 17:43:07 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-03-04 18:42:12 +1100
commit4146136d6dfd3a41f674b71bece81a33c74d824a (patch)
tree79fb342477f01ed63f5b58a3b1813f6e765b78b8 /compiler/rustc_codegen_llvm/src/builder.rs
parentda02fff3b6e4e27156054dcdda6675fe2a2591a6 (diff)
downloadrust-4146136d6dfd3a41f674b71bece81a33c74d824a.tar.gz
rust-4146136d6dfd3a41f674b71bece81a33c74d824a.zip
Extract an arguments struct for `Builder::then_else_break`
Most of this method's arguments are usually or always forwarded as-is to
recursive invocations.

Wrapping them in a dedicated struct allows us to document each struct field,
and lets us use struct-update syntax to indicate which arguments are being
modified when making a recursive call.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions