about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2021-03-04 13:36:48 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2021-03-04 13:39:41 +0300
commitc8a0e8d61b57b59e0dbcd4d90fb046b1a43abb4f (patch)
treec270078c0e201e9d601dc4e940f4b9e4561955b4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6f7673d077add6b9a066e988b1b8b132a8193d6c (diff)
downloadrust-c8a0e8d61b57b59e0dbcd4d90fb046b1a43abb4f.tar.gz
rust-c8a0e8d61b57b59e0dbcd4d90fb046b1a43abb4f.zip
Refactor confirm_builtin_call, remove partial if
Pass callee expr to `confirm_builtin_call`. This removes a partial
pattern match in `confirm_builtin_call` and the `panic` in the `else`
branch. The diff is large because of indentation changes caused by
removing the if-let.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions