mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Changed spelling of lifetime flags.
Changed the frontend flag to -enable-experimental-lexical-lifetimes from -enable-experimental-defined-lifetimes. Changed the attribute on begin_borrow from [defined] to [lexical].
This commit is contained in:
@@ -429,8 +429,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.EnableExperimentalConcurrency |=
|
||||
Args.hasArg(OPT_enable_experimental_concurrency);
|
||||
|
||||
Opts.EnableExperimentalDefinedLifetimes |=
|
||||
Args.hasArg(OPT_enable_experimental_defined_lifetimes);
|
||||
Opts.EnableExperimentalLexicalLifetimes |=
|
||||
Args.hasArg(OPT_enable_experimental_lexical_lifetimes);
|
||||
|
||||
Opts.EnableExperimentalNamedOpaqueTypes |=
|
||||
Args.hasArg(OPT_enable_experimental_named_opaque_types);
|
||||
|
||||
Reference in New Issue
Block a user