swift
50f9ce4f - Parse: Accept @called(exactlyOnce).

Commit
45 days ago
Parse: Accept @called(exactlyOnce). Parse `exactlyOnce` as an argument of `@called` in function types and closure attributes, and resolve it to exactly-once execution semantics for both Swift and SIL function types. Exactly-once values are noncopyable, consumed by calls, and passed `consuming` by default, just like `@called(atMostOnce)` values. Nothing enforces a call on every path yet, and no conversion distinguishes the two kinds yet.
Author
Committer
Parents
Loading