mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ABI checker: include all kinds of accessors for abstract storage decl and diagnose their missing.
Removing accessors other than getter and setter can be ABI breaking. This patch starts to formally include all accessor decls in the tree and diagnose their removal. This change only applies to the ABI checker since we still exclude accessors other than getter and setter when diagnosing source compatibility. Including accessors formally can also allow us to check the missing of availability attributes for newly added accessors. rdar://52063421
This commit is contained in:
@@ -42,8 +42,6 @@ ERROR(raw_type_change,none,"%0(%1) is now %2 representable", (StringRef, StringR
|
||||
|
||||
ERROR(removed_decl,none,"%0 has been removed%select{| (deprecated)}1", (StringRef, bool))
|
||||
|
||||
ERROR(removed_setter,none,"%0 has removed its setter", (StringRef))
|
||||
|
||||
ERROR(moved_decl,none,"%0 has been moved to %1", (StringRef, StringRef))
|
||||
|
||||
ERROR(renamed_decl,none,"%0 has been renamed to %1", (StringRef, StringRef))
|
||||
|
||||
Reference in New Issue
Block a user