Merge pull request #42611 from rxwei/string-processing-default

Enable string processing by default.
This commit is contained in:
Richard Wei
2022-06-13 11:16:05 -07:00
committed by GitHub
54 changed files with 179 additions and 108 deletions

View File

@@ -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) {