Skip to content

Commit 75cb9e5

Browse files
committed
[AutoDiff] Update @differentiable attribute API/ABI status.
Mark `@differentiable` attribute as: - ABI breaking to add/remove. - API breaking to remove. - API stable to add.
1 parent 3943c1e commit 75cb9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Attr.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ DECL_ATTR(_projectedValueProperty, ProjectedValueProperty,
506506
DECL_ATTR(differentiable, Differentiable,
507507
OnAccessor | OnConstructor | OnFunc | OnVar | OnSubscript | LongAttribute |
508508
AllowMultipleAttributes |
509-
ABIStableToAdd | ABIStableToRemove | APIStableToAdd | APIStableToRemove,
509+
ABIBreakingToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIStableToRemove,
510510
90)
511511
DECL_ATTR(differentiating, Differentiating,
512512
OnFunc | LongAttribute | AllowMultipleAttributes |

0 commit comments

Comments
 (0)