[SIL] Generalize CastingIsolatedConformances to CheckedCastInstOptions

We are going to need to add more flags to the various checked cast
instructions. Generalize the CastingIsolatedConformances bit in all of
these SIL instructions to an "options" struct that's easier to extend.

Precursor to rdar://152335805.
This commit is contained in:
Doug Gregor
2025-06-04 16:52:25 -07:00
parent 2e1f876683
commit bc4cf1236b
31 changed files with 253 additions and 247 deletions

View File

@@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 953; // update LifetimeDependence layout
const uint16_t SWIFTMODULE_VERSION_MINOR = 954; // Checked cast inst options
/// A standard hash seed used for all string hashes in a serialized module.
///