about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-04-14 22:56:38 +0000
committerGitHub <noreply@github.com>2025-04-14 22:56:38 +0000
commit02764f611abab492663099ee6f3809c435f19ce6 (patch)
tree65a707850a2d62817fd30e2dacb40963bd506164 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent69ade776fa8a05371c0921124c5a4bcba343b3e1 (diff)
parentc43c87de26cd81fc7a647fe1cac73a665b323cc8 (diff)
downloadrust-02764f611abab492663099ee6f3809c435f19ce6.tar.gz
rust-02764f611abab492663099ee6f3809c435f19ce6.zip
Various fixes for `manual_is_power_of_two` (#14463)
Fix #14461:

- insert parentheses as required in suggestion
- check MSRV before suggesting fix in `const` context
- do not lint macro expansion result

Commits have been logically separated to facilitate review, and start
with a refactoring (and simplification) of the existing code.

changelog: [`manual_is_power_of_two`]: insert parentheses as required in
suggestion, check MSRV before suggesting fix in `const` context, do not
lint macro expansion results
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions