mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove support for Swift 3 @objc inference.
Obsolete the `-enable-swift3-objc-inference` option and related options by removing support for inferring `@objc` attributes using Swift 3 rules. Automated migration from Swift 3 has not been supported by the compiler for many years.
This commit is contained in:
@@ -677,12 +677,12 @@ def report_errors_to_debugger : Flag<["-"], "report-errors-to-debugger">,
|
||||
|
||||
def enable_swift3_objc_inference : Flag<["-"], "enable-swift3-objc-inference">,
|
||||
Flags<[FrontendOption, HelpHidden]>,
|
||||
HelpText<"Deprecated">;
|
||||
HelpText<"Deprecated, has no effect">;
|
||||
|
||||
def disable_swift3_objc_inference :
|
||||
Flag<["-"], "disable-swift3-objc-inference">,
|
||||
Flags<[FrontendOption, HelpHidden]>,
|
||||
HelpText<"Deprecated">;
|
||||
HelpText<"Deprecated, has no effect">;
|
||||
|
||||
def enable_implicit_dynamic : Flag<["-"], "enable-implicit-dynamic">,
|
||||
Flags<[FrontendOption, NoInteractiveOption, HelpHidden]>,
|
||||
|
||||
@@ -788,12 +788,12 @@ def continue_building_after_errors : Flag<["-"], "continue-building-after-errors
|
||||
def warn_swift3_objc_inference_complete :
|
||||
Flag<["-"], "warn-swift3-objc-inference-complete">,
|
||||
Flags<[FrontendOption, HelpHidden, DoesNotAffectIncrementalBuild]>,
|
||||
HelpText<"Deprecated">;
|
||||
HelpText<"Deprecated, has no effect">;
|
||||
|
||||
def warn_swift3_objc_inference_minimal :
|
||||
Flag<["-"], "warn-swift3-objc-inference-minimal">,
|
||||
Flags<[FrontendOption, HelpHidden, DoesNotAffectIncrementalBuild]>,
|
||||
HelpText<"Deprecated">;
|
||||
HelpText<"Deprecated, has no effect">;
|
||||
|
||||
def enable_actor_data_race_checks :
|
||||
Flag<["-"], "enable-actor-data-race-checks">,
|
||||
|
||||
Reference in New Issue
Block a user