about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2025-01-22 02:54:49 +0000
committerGitHub <noreply@github.com>2025-01-22 02:54:49 +0000
commit88d83b6e55ff3bf0b50f01d674c54b83acd21dc6 (patch)
tree3f227483b22c9663d466f72923d1d7097a6928a2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent396de5748b5b1e37cb57814818f4bc878851f030 (diff)
parent7f162fa9af5141c69b9a8fa79f108ad1cc60d35b (diff)
downloadrust-88d83b6e55ff3bf0b50f01d674c54b83acd21dc6.tar.gz
rust-88d83b6e55ff3bf0b50f01d674c54b83acd21dc6.zip
`short_circuit_statement`: handle macros and parenthesis better (#14047)
- The lint no longer triggers if one of the operands in the boolean
expression comes from a macro expansion.
- Parenthesis are now removed inside the generated block if they are no
longer necessary.
- Error markers have been added.

changelog: [`short_circuit_statement`]: better handling of macros and
better looking suggestions
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions