mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a set of _preconditionOptionalHasValue intrinsics that merely test that an optional has a case. Emit an lvalue ForceValueExpr as a physical lvalue, first asserting the precondition then projecting out the Some payload. Swift SVN r20188
5.0 KiB
5.0 KiB