@@ -6755,9 +6755,9 @@ NOTE(type_eraser_init_spi,none,
67556755
67566756ERROR(availability_must_occur_alone, none,
67576757 " %0 %select{|version }1availability must be specified alone" ,
6758- (StringRef , bool ))
6758+ (AvailabilityDomain , bool ))
67596759ERROR(availability_unexpected_version, none,
6760- " unexpected version number for %0" , (StringRef ))
6760+ " unexpected version number for %0" , (AvailabilityDomain ))
67616761WARNING(availability_unrecognized_platform_name,
67626762 PointsToFirstBadToken, " unrecognized platform name %0" , (Identifier))
67636763WARNING(availability_suggest_platform_name,
@@ -6766,17 +6766,17 @@ WARNING(availability_suggest_platform_name,
67666766 (Identifier, StringRef))
67676767
67686768WARNING(attr_availability_expected_deprecated_version, none,
6769- " expected version number with 'deprecated' in '%0' attribute for "
6770- " platform '%1' " , (StringRef, StringRef ))
6769+ " expected version number with 'deprecated' in '%0' attribute for %1 " ,
6770+ ( const DeclAttribute, AvailabilityDomain ))
67716771WARNING(attr_availability_cannot_be_used_for_domain, none,
6772- " '%0' cannot be used in '%1' attribute for platform '%2' " ,
6773- (StringRef, StringRef, StringRef ))
6772+ " '%0' cannot be used in '%1' attribute for %2 " ,
6773+ (StringRef, const DeclAttribute, AvailabilityDomain ))
67746774WARNING(attr_availability_expected_version_spec, none,
67756775 " expected 'introduced', 'deprecated', or 'obsoleted' in '%0' attribute "
6776- " for platform '%1' " , (StringRef, StringRef ))
6776+ " for %1 " , (const DeclAttribute, AvailabilityDomain ))
67776777ERROR(attr_availability_requires_custom_availability, none,
67786778 " %0 requires '-enable-experimental-feature CustomAvailability'" ,
6779- (StringRef ))
6779+ (AvailabilityDomain ))
67806780
67816781ERROR(availability_decl_unavailable, none,
67826782 " %0 is unavailable%select{ in %2|}1%select{|: %3}3" ,
@@ -7003,10 +7003,11 @@ ERROR(conformance_availability_only_version_newer, none,
70037003
70047004ERROR(availability_query_not_allowed, none,
70057005 " %0 %select{|version }1checks not allowed in %2(...)" ,
7006- (StringRef , bool , StringRef))
7006+ (AvailabilityDomain , bool , StringRef))
70077007
70087008ERROR(availability_query_already_specified, none,
7009- " %select{|version for }0'%1' already specified" , (bool , StringRef))
7009+ " %select{|version for }0%1 already specified" ,
7010+ (bool , AvailabilityDomain))
70107011
70117012ERROR(availability_query_wildcard_required, none,
70127013 " must handle potential future platforms with '*'" , ())
0 commit comments