Skip to content

Commit 9364415

Browse files
committed
swift-module-digester: use "stored property" instead of "fixed layout order" in diagnostics.
1 parent 784cb9e commit 9364415

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/swift/AST/DiagnosticsModuleDiffer.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ERROR(decl_reorder,none,"%0 in a non-resilient type changes position from %1 to
5858

5959
ERROR(decl_added,none,"%0 is added to a non-resilient type", (StringRef))
6060

61-
ERROR(decl_has_fixed_order_change,none,"%0 is %select{now|no longer}1 a property with fixed layout order", (StringRef, bool))
61+
ERROR(decl_has_fixed_order_change,none,"%0 is %select{now|no longer}1 a stored property", (StringRef, bool))
6262

6363
ERROR(default_arg_removed,none,"%0 has removed default argument from %1", (StringRef, StringRef))
6464

test/api-digester/Outputs/Cake-abi.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ cake1: EnumElement FrozenKind.Fixed in a non-resilient type changes position fro
5454
cake1: EnumElement FrozenKind.Rigid in a non-resilient type changes position from 2 to 1
5555
cake1: Var fixedLayoutStruct.a in a non-resilient type changes position from 1 to 0
5656
cake1: Var fixedLayoutStruct.b in a non-resilient type changes position from 0 to 1
57-
cake1: Var fixedLayoutStruct2.BecomeFixedBinaryOrder is now a property with fixed layout order
58-
cake1: Var fixedLayoutStruct2.NoLongerWithFixedBinaryOrder is no longer a property with fixed layout order
57+
cake1: Var fixedLayoutStruct2.BecomeFixedBinaryOrder is now a stored property
58+
cake1: Var fixedLayoutStruct2.NoLongerWithFixedBinaryOrder is no longer a stored property
5959
cake2: EnumElement FrozenKind.AddedCase is added to a non-resilient type
6060
cake2: Var fixedLayoutStruct.c is added to a non-resilient type
6161
cake2: Var fixedLayoutStruct.lazy_d.storage is added to a non-resilient type

0 commit comments

Comments
 (0)