about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-27 10:09:51 +0000
committerbors <bors@rust-lang.org>2023-05-27 10:09:51 +0000
commitc9ddcf0d06fded254fb185cb45830684383a96eb (patch)
treea89e6d02a19613d832e2f3ff870775b8b7634745 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf1fd4673bc997164efbf0ba30cef01ffba24a43f (diff)
parent021b7398e1c37c75c250e3b81a1b46622ce683c9 (diff)
downloadrust-c9ddcf0d06fded254fb185cb45830684383a96eb.tar.gz
rust-c9ddcf0d06fded254fb185cb45830684383a96eb.zip
Auto merge of #10822 - Alexendoo:needless-else-cfg, r=llogiq
Ignore `#[cfg]`'d out code in `needless_else`

changelog: none (same release as #10810)

`#[cfg]` making things fun once more

This lead me to think about macro calls that expand to nothing as well, but apparently they produce an empty stmt in the AST so are already handled, added a test for that

r? `@llogiq`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions