Skip to content

Commit 473d2ee

Browse files
authored
[AutoDiff] Update @differentiable attribute API/ABI status. (#28148)
Mark `@differentiable` attribute as: - API/ABI stable to add. (The `@differentiable` declaration is unaffected.) - API/ABI breaking to remove.
1 parent 3943c1e commit 473d2ee

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+
ABIStableToAdd | ABIBreakingToRemove | APIStableToAdd | APIBreakingToRemove,
510510
90)
511511
DECL_ATTR(differentiating, Differentiating,
512512
OnFunc | LongAttribute | AllowMultipleAttributes |

0 commit comments

Comments
 (0)