@@ -644,10 +644,6 @@ ERROR(expression_unused_keypath_result,NoUsage,
644644ERROR(expr_keypath_non_objc_property,none,
645645 " argument of '#keyPath' refers to non-'@objc' property %0" ,
646646 (Identifier))
647- WARNING(expr_keypath_swift3_objc_inference,Deprecation,
648- " argument of '#keyPath' refers to property %0 in %1 that depends on "
649- " '@objc' inference deprecated in Swift 4" ,
650- (Identifier, Identifier))
651647ERROR(expr_keypath_type_of_property,none,
652648 " cannot refer to type member %0 within instance of type %1" ,
653649 (DeclNameRef, Type))
@@ -755,10 +751,6 @@ ERROR(expr_selector_not_objc,none,
755751NOTE(make_decl_objc,none,
756752 " add '@objc' to expose this %0 to Objective-C" ,
757753 (DescriptiveDeclKind))
758- WARNING(expr_selector_swift3_objc_inference,Deprecation,
759- " argument of '#selector' refers to %kind0 in %1 that depends on "
760- " '@objc' inference deprecated in Swift 4" ,
761- (const ValueDecl *, const ValueDecl *))
762754
763755// Selectors-as-string-literals.
764756WARNING(selector_literal_invalid,none,
@@ -2132,11 +2124,6 @@ ERROR(missing_unimplemented_init_runtime,none,
21322124ERROR(missing_undefined_runtime,none,
21332125 " standard library error: missing _undefined" , ())
21342126
2135- WARNING(expr_dynamic_lookup_swift3_objc_inference,Deprecation,
2136- " reference to %kind0 of %1 depends on '@objc' inference "
2137- " deprecated in Swift 4" ,
2138- (const ValueDecl *, Identifier))
2139-
21402127ERROR(inherited_default_value_not_in_designated_constructor,none,
21412128 " default value inheritance via 'super' is only valid on the parameters of "
21422129 " designated initializers" , ())
@@ -3450,11 +3437,6 @@ WARNING(implicitly_final_cannot_be_open_swift4,none,
34503437 " static declarations}0 are implicitly 'final'; use 'public' instead of "
34513438 " 'open'" , (unsigned ))
34523439
3453- WARNING(override_swift3_objc_inference,Deprecation,
3454- " override of %kind0 from extension of %1 depends on deprecated "
3455- " inference of '@objc'" ,
3456- (const ValueDecl *, Identifier))
3457-
34583440// Inheritance
34593441ERROR(duplicate_inheritance,none,
34603442 " duplicate inheritance from %0" , (Type))
@@ -6126,18 +6108,6 @@ ERROR(objc_operator, none,
61266108 " operator methods cannot be declared @objc" , ())
61276109ERROR(objc_operator_proto, none,
61286110 " @objc protocols must not have operator requirements" , ())
6129- WARNING(objc_inference_swift3_dynamic,Deprecation,
6130- " inference of '@objc' for 'dynamic' members is deprecated" , ())
6131- WARNING(objc_inference_swift3_objc_derived,Deprecation,
6132- " inference of '@objc' for members of Objective-C-derived classes is "
6133- " deprecated" , ())
6134-
6135- NOTE(objc_inference_swift3_addobjc,none,
6136- " add '@objc' to continue exposing an Objective-C entry point (Swift 3 "
6137- " behavior)" , ())
6138- NOTE(objc_inference_swift3_addnonobjc,none,
6139- " add '@nonobjc' to suppress the Objective-C entry point (Swift 4 "
6140- " behavior)" , ())
61416111
61426112ERROR(objc_for_generic_class,none,
61436113 " generic subclasses of '@objc' classes cannot have an explicit '@objc' "
@@ -6153,10 +6123,6 @@ ERROR(objc_setter_for_nonobjc_property,none,
61536123 " '@objc' setter for non-'@objc' property" , ())
61546124ERROR(objc_setter_for_nonobjc_subscript,none,
61556125 " '@objc' setter for non-'@objc' subscript" , ())
6156- WARNING(accessor_swift3_objc_inference,Deprecation,
6157- " %kind0 with '@objc' %select{getter|setter}1 depends on "
6158- " deprecated inference of '@objc'" ,
6159- (const AbstractStorageDecl *, bool ))
61606126
61616127ERROR(objc_enum_generic,none,
61626128 " '@objc' enum cannot be generic" , ())
@@ -6187,10 +6153,6 @@ ERROR(objc_extension_not_class,none,
61876153// If you change this, also change enum ObjCReason
61886154#define OBJC_ATTR_SELECT " select{marked @_cdecl|marked dynamic|marked @objc|marked @objcMembers|marked @IBOutlet|marked @IBAction|marked @IBSegueAction|marked @NSManaged|a member of an @objc protocol|implicitly @objc|an @objc override|an implementation of an @objc requirement|marked @IBInspectable|marked @GKInspectable|in an @objc extension of a class (without @nonobjc)|in an @_objcImplementation extension of a class (without final or @nonobjc)|marked @objc by an access note}"
61896155
6190- WARNING (attribute_meaningless_when_nonobjc,none,
6191- " '@%0' attribute is meaningless on a property that cannot be "
6192- " represented in Objective-C" , (StringRef))
6193-
61946156ERROR (objc_invalid_on_var,none,
61956157 " property cannot be %" OBJC_ATTR_SELECT " 0 "
61966158 " because its type cannot be represented in Objective-C" , (unsigned ))
@@ -6249,10 +6211,6 @@ NOTE(objc_overriding_objc_decl,none,
62496211NOTE(objc_witness_objc_requirement,none,
62506212 " satisfying requirement for %kind0 in protocol %1" ,
62516213 (const ValueDecl *, const ProtocolDecl *))
6252- WARNING(witness_swift3_objc_inference,Deprecation,
6253- " use of %kind0 to satisfy a requirement of protocol %1 depends on "
6254- " '@objc' inference deprecated in Swift 4" ,
6255- (const ValueDecl *, Type))
62566214
62576215ERROR(no_opaque_return_type_of,none,
62586216 " unable to resolve type for _opaqueReturnTypeOf attribute" , ())
0 commit comments