File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -792,9 +792,6 @@ class AvailableAttr : public DeclAttribute {
792792 // / Whether this attribute was spelled `@_unavailableInEmbedded`.
793793 bool isForEmbedded () const { return Bits.AvailableAttr .IsForEmbedded ; }
794794
795- // / Returns the platform that the attribute applies to (may be `none`).
796- PlatformKind getPlatform () const { return Domain.getPlatformKind (); }
797-
798795 // / Returns the `AvailabilityDomain` associated with the attribute, or
799796 // / `std::nullopt` if it has either not yet been resolved or could not be
800797 // / resolved successfully.
Original file line number Diff line number Diff line change @@ -3078,7 +3078,7 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
30783078 LIST_VER_TUPLE_PIECES (Introduced),
30793079 LIST_VER_TUPLE_PIECES (Deprecated),
30803080 LIST_VER_TUPLE_PIECES (Obsoleted),
3081- static_cast <unsigned >(theAttr-> getPlatform ()),
3081+ static_cast <unsigned >(domain-> getPlatformKind ()),
30823082 theAttr->Message .size (),
30833083 theAttr->Rename .size (),
30843084 blob);
You can’t perform that action at this time.
0 commit comments