about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-03-23 11:04:09 -0700
committerCamelid <camelidcamel@gmail.com>2021-03-23 11:04:09 -0700
commit68244fc521c91b5daba347a4160a884eab268e08 (patch)
tree26e8ade96ed1ff2f0c6709b0668ee8b68e615cb0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentc9ae35978c8520227b360830ff6971f2887c98a2 (diff)
downloadrust-68244fc521c91b5daba347a4160a884eab268e08.tar.gz
rust-68244fc521c91b5daba347a4160a884eab268e08.zip
Remove unnecessary `Option` wrapping around `Crate.module`
I'm wondering if it was originally there so that we could `take` the
module which enables `after_krate` to take an `&Crate`. However, the two
impls of `after_krate` only use `Crate.name`, so we can pass just the
name instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions