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 {
792
792
// / Whether this attribute was spelled `@_unavailableInEmbedded`.
793
793
bool isForEmbedded () const { return Bits.AvailableAttr .IsForEmbedded ; }
794
794
795
- // / Returns the platform that the attribute applies to (may be `none`).
796
- PlatformKind getPlatform () const { return Domain.getPlatformKind (); }
797
-
798
795
// / Returns the `AvailabilityDomain` associated with the attribute, or
799
796
// / `std::nullopt` if it has either not yet been resolved or could not be
800
797
// / resolved successfully.
Original file line number Diff line number Diff line change @@ -3078,7 +3078,7 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
3078
3078
LIST_VER_TUPLE_PIECES (Introduced),
3079
3079
LIST_VER_TUPLE_PIECES (Deprecated),
3080
3080
LIST_VER_TUPLE_PIECES (Obsoleted),
3081
- static_cast <unsigned >(theAttr-> getPlatform ()),
3081
+ static_cast <unsigned >(domain-> getPlatformKind ()),
3082
3082
theAttr->Message .size (),
3083
3083
theAttr->Rename .size (),
3084
3084
blob);
You can’t perform that action at this time.
0 commit comments