diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-03-04 08:15:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-04 08:15:00 +0000 |
| commit | cdc1d9d87ab8c50a2ab2771906a1573c061ce02b (patch) | |
| tree | 5dde8d8ec2edda74a9597131536ee3baf3064f19 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | b4b7c7b05736dade148730f55ed4c0ea586025c4 (diff) | |
| parent | 336d34481e9fce4df59096ede51832416c2e34ed (diff) | |
| download | rust-cdc1d9d87ab8c50a2ab2771906a1573c061ce02b.tar.gz rust-cdc1d9d87ab8c50a2ab2771906a1573c061ce02b.zip | |
Lint more cases with `ptr_eq` (#14339)
This PR: - lints more case of raw pointer comparisons - do not omit the named function to raw pointer conversion before suggesting - trigger the `ptr_eq` lint only if `cmp_null` doesn't trigger first, as this is a more specialized version - lints against `!=` in addition to `==` The `ptr_eq` code has been moved from under `operators` to `ptr.rs`, in order to benefit from factorization. Fix #14337 changelog: [`ptr_eq`]: handle more cases
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
