mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #75182 from tshortli/warn-soft-deprecated
Introduce `-warn-soft-deprecated` option
This commit is contained in:
@@ -1164,6 +1164,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.WarnImplicitOverrides =
|
||||
Args.hasArg(OPT_warn_implicit_overrides);
|
||||
|
||||
Opts.WarnSoftDeprecated = Args.hasArg(OPT_warn_soft_deprecated);
|
||||
|
||||
Opts.EnableNSKeyedArchiverDiagnostics =
|
||||
Args.hasFlag(OPT_enable_nskeyedarchiver_diagnostics,
|
||||
OPT_disable_nskeyedarchiver_diagnostics,
|
||||
|
||||
Reference in New Issue
Block a user