mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This PR introduces `@differentiable` attribute to mark functions as differentiable. This PR only contains changes related to parsing the attribute. Type checking and other changes will be added in subsequent patches. See https://github.com/apple/swift/pull/27506/files#diff-f3216f4188fd5ed34e1007e5a9c2490f for examples and tests for the new attribute.
7.4 KiB
7.4 KiB