about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-27 06:11:52 +0100
committerGitHub <noreply@github.com>2023-02-27 06:11:52 +0100
commit32317b5a5b8cbd2ab0b5f97dcbd0fb6962848383 (patch)
tree4e336ee90a7badcfcc2c04701e32f4b4fc6783a5 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenteb84167837f241e12f21a806b162cfdea277bdb2 (diff)
parent4036a5722a240f4c03ab269f29166502b3c6e4c8 (diff)
downloadrust-32317b5a5b8cbd2ab0b5f97dcbd0fb6962848383.tar.gz
rust-32317b5a5b8cbd2ab0b5f97dcbd0fb6962848383.zip
Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors
Unify validity checks into a single query

Previously, there were two queries to check whether a type allows the 0x01 or zeroed bitpattern.

I am planning on adding a further initness to check in #100423, truly uninit for MaybeUninit, which would make this three queries. This seems overkill for such a small feature, so this PR unifies them into one.

I am not entirely happy with the naming and key type and open for improvements.

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