about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2024-12-03 15:58:06 +0000
committerGitHub <noreply@github.com>2024-12-03 15:58:06 +0000
commit25505302665a707bedee68ca1f3faf2a09f12c00 (patch)
treef92f09fd99542158ed6484d0b80a5ba73d55715e /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent19426bfdfb430c1a423c56160e120f95e8548e3d (diff)
parent120b84125ec545a6233eaa2224829510992f6c98 (diff)
downloadrust-25505302665a707bedee68ca1f3faf2a09f12c00.tar.gz
rust-25505302665a707bedee68ca1f3faf2a09f12c00.zip
Extend `precedence` for bitmasking and shift (#13743)
Now we can lint for the expressions like `_&_>>_`, `_<<_^_`, etc. And
will suggest to add parentheses like `_&(_>>_)` and `(_<<_)^_`.
I get implementation suggestions from
[https://github.com/rust-lang/rust-clippy/pull/8735#pullrequestreview-954273477](https://github.com/rust-lang/rust-clippy/pull/8735#pullrequestreview-954273477).
changelog: extended [`precedence`] to lint for bit masking and bit
shifting without parentheses
fixes #6632
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions