diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-07 21:14:01 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-07 21:27:53 +1000 |
| commit | e38dfc49617086f31086f9d49275785d0ecc3d53 (patch) | |
| tree | bb4b9fae63c37414e7f547345845f4da62d0f346 /tests/rustdoc-js-std/reference-shrink.js | |
| parent | 8f2c255ae03c524323a52d7003ac176beaa3ea74 (diff) | |
| download | rust-e38dfc49617086f31086f9d49275785d0ecc3d53.tar.gz rust-e38dfc49617086f31086f9d49275785d0ecc3d53.zip | |
Remove unnecessary cast from `LLVMRustGetInstrProfIncrementIntrinsic`
This particular cast appears to have been copied over from clang, but there are plenty of other call sites in clang that don't bother with a cast here, and it works fine without one. For context, `llvm::Intrinsic::ID` is a typedef for `unsigned`, and `llvm::Intrinsic::instrprof_increment` is a member of `enum IndependentIntrinsics : unsigned`.
Diffstat (limited to 'tests/rustdoc-js-std/reference-shrink.js')
0 files changed, 0 insertions, 0 deletions
