mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Frontend: Rename -enable-ad-hoc-availability to -weak-link-at-target.
I am separating the concern of weakly linking symbols that are introduced at the deployment target from the concern of type checking this new type of potential unavailability. Resolves rdar://97925900
This commit is contained in:
@@ -497,8 +497,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Args.hasArg(OPT_disable_availability_checking);
|
||||
Opts.CheckAPIAvailabilityOnly |=
|
||||
Args.hasArg(OPT_check_api_availability_only);
|
||||
Opts.EnableAdHocAvailability |=
|
||||
Args.hasArg(OPT_enable_ad_hoc_availability);
|
||||
Opts.WeakLinkAtTarget |= Args.hasArg(OPT_weak_link_at_target);
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_enable_conformance_availability_errors,
|
||||
OPT_disable_conformance_availability_errors)) {
|
||||
|
||||
Reference in New Issue
Block a user