[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:
Nate Chandler
2021-09-14 08:36:53 -07:00
parent c3e762680e
commit f833b68d3b
16 changed files with 66 additions and 63 deletions

View File

@@ -302,7 +302,7 @@ namespace swift {
bool EnableExperimentalConcurrency = false;
/// Enable experimental support for emitting defined borrow scopes.
bool EnableExperimentalDefinedLifetimes = false;
bool EnableExperimentalLexicalLifetimes = false;
/// Enable experimental support for named opaque result types, e.g.
/// `func f() -> <T> T`.