mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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:
@@ -33,7 +33,6 @@ enum LocalDiagID : uint32_t {
|
||||
static StringRef getCategoryName(uint32_t ID) {
|
||||
switch(ID) {
|
||||
case LocalDiagID::removed_decl:
|
||||
case LocalDiagID::removed_setter:
|
||||
return "/* Removed Decls */";
|
||||
case LocalDiagID::moved_decl:
|
||||
case LocalDiagID::decl_kind_changed:
|
||||
|
||||
Reference in New Issue
Block a user