rename expose_addr to expose_provenance

This commit is contained in:
joboet
2024-04-03 15:17:00 +02:00
parent 99c42d2340
commit 989660c3e6
49 changed files with 105 additions and 99 deletions

View File

@@ -409,7 +409,7 @@ impl<'tcx> Rvalue<'tcx> {
// Pointer to int casts may be side-effects due to exposing the provenance.
// While the model is undecided, we should be conservative. See
// <https://www.ralfj.de/blog/2022/04/11/provenance-exposed.html>
Rvalue::Cast(CastKind::PointerExposeAddress, _, _) => false,
Rvalue::Cast(CastKind::PointerExposeProvenance, _, _) => false,
Rvalue::Use(_)
| Rvalue::CopyForDeref(_)