mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Enable string processing by default.
Make frontend flag `-enable-experimental-string-processing` default to true.
This commit is contained in:
@@ -607,8 +607,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
// Determine whether string processing is enabled
|
||||
Opts.EnableExperimentalStringProcessing =
|
||||
Args.hasFlag(OPT_enable_experimental_string_processing,
|
||||
OPT_disable_experimental_string_processing,
|
||||
Args.hasArg(OPT_enable_bare_slash_regex));
|
||||
OPT_disable_experimental_string_processing);
|
||||
|
||||
// Add a future feature if it is not already implied by the language version.
|
||||
auto addFutureFeatureIfNotImplied = [&](Feature feature) {
|
||||
|
||||
Reference in New Issue
Block a user