mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The `@derivative(of:)` attribute registers a function as a derivative of another function. This patch adds the `@derivative(of:)` attribute definition, syntax, parsing, and printing. Resolves TF-826. Todos: - Type-checking (TF-829). - Serialization (TF-837).
7.5 KiB
7.5 KiB