swift
6c922af8 - [move-only] Combine the address/object checker in the same pass so that we only run cleanups once.

Commit
2 years ago
[move-only] Combine the address/object checker in the same pass so that we only run cleanups once. Otherwise, sometimes when the object checker emits a diagnostic and cleans up the IR, some of the cleaned up copies are copies that should have been handled by the address checker. The end result is that the address checker does not emit diagnostics for that IR. I found this problem was exascerbated when writing code for escaping closures. This commit also cleans up the passes in preparation for at a future time moving some of the transformations into the utils folder.
Author
Committer
Parents
Loading