about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-27 17:48:46 +0200
committerGitHub <noreply@github.com>2023-06-27 17:48:46 +0200
commit526326e10de479c4e8b1f33dc6b2c2f442b5c4f4 (patch)
tree9017dcb5c0f34354a4a1e7dfcda5d6906f132990 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1153aba3ec6faeb9286d1f2a25214685aa0febd7 (diff)
parentfbb2079a2410ccb067f7cb99f3ca3ebaccc543c4 (diff)
downloadrust-526326e10de479c4e8b1f33dc6b2c2f442b5c4f4.tar.gz
rust-526326e10de479c4e8b1f33dc6b2c2f442b5c4f4.zip
Rollup merge of #113079 - Zalathar:as-operand-id, r=oli-obk
Use `CoverageKind::as_operand_id` instead of manually reimplementing it

These two pieces of code are functionally equivalent to the `CoverageKind::as_operand_id` method that already exists, and is already used elsewhere in this file.

This slightly reduces the amount of code that manually pattern-matches on `CoverageKind`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions