about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2021-03-05 10:04:33 -0700
committerMichael Howell <michael@notriddle.com>2021-03-05 10:04:33 -0700
commit28135b79d71e4256f9f0ac76aa8c6c49b3127d09 (patch)
tree0aa0f7298fe25f4fb2b3ffdedaa931ae09f1bd08 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8ccc89bc312caa65ca46b55b47492abdd5b6910a (diff)
downloadrust-28135b79d71e4256f9f0ac76aa8c6c49b3127d09.tar.gz
rust-28135b79d71e4256f9f0ac76aa8c6c49b3127d09.zip
Remove redundant enableSearchInput function
enableSearchInput was called from two places:

- setupSearchLoader
- addSearchOptions, which is itself called from setupSearchLoader only

This commit can safely get rid of the addSearchOptions calls entirely,
and since the setupSearchLoader call is immediately preceded by other
method calls on search_input, there's no need to check if it's set.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions