mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a flag to enable ConcurrentValue inference for public structs/enums.
This commit is contained in:
@@ -385,6 +385,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.EnableExperimentalConcurrency |=
|
||||
Args.hasArg(OPT_enable_experimental_concurrency);
|
||||
Opts.EnableInferPublicConcurrentValue |=
|
||||
Args.hasFlag(OPT_enable_infer_public_concurrent_value,
|
||||
OPT_disable_infer_public_concurrent_value,
|
||||
false);
|
||||
Opts.EnableExperimentalFlowSensitiveConcurrentCaptures |=
|
||||
Args.hasArg(OPT_enable_experimental_flow_sensitive_concurrent_captures);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user