about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorCatherine Flores <catherine.3.flores@gmail.com>2025-01-28 06:57:12 +0000
committerGitHub <noreply@github.com>2025-01-28 06:57:12 +0000
commit66dc8a1a30b19f31454a9e58f8723500a1a8ad17 (patch)
tree49fe94081ee83fa88d4e7842d5615f53c94cac02 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent83bde363b633a68a1a94441b685ee5a87c60879c (diff)
parent2640f657ec8bd64276f85741d268e7a87e35de6e (diff)
downloadrust-66dc8a1a30b19f31454a9e58f8723500a1a8ad17.tar.gz
rust-66dc8a1a30b19f31454a9e58f8723500a1a8ad17.zip
proper applicability for `obfuscated_if_else` (#14061)
fix #14034

The currect implementation of `obfuscated_if_else` sometimes makes
incorrect suggestions when the original code have side effects (see the
example in the above issue). I think this can be fixed by changing the
applicability depending on whether it can have side effects or not.

changelog: [`obfuscated_if_else`]: change applicability when the
original code can have side effects
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions