Files
carbon-lang/common
Dana Jansens d4f1ec203d Introduce a CheckedSaveAndRestore like llvm::SaveAndRestore (#7965)
Sets a variable to a new value, saving a copy of that new value. Then
CHECKs that the variable is still set to that new value before restoring
the original value over top of it. This is meant to catch data loss
where the variable holds some change that would be overwritten by the
restore. In particular, this would catch bad bracketing of sets and
restores.
2026-10-13 22:47:19 +00:00
..
2025-05-16 01:39:19 +00:00
2025-10-13 18:49:48 +00:00
2026-10-06 15:13:10 +00:00
2024-10-13 17:47:57 +00:00
2024-01-05 23:01:47 +00:00
2024-09-16 22:55:55 +00:00