Rename flag for enabling forward slash literals to be less ambiguous.

Previous spelling could easily be mistaken for gating the entire feature.

Part of rdar://91119995
This commit is contained in:
Artem Chikin
2022-04-06 09:46:40 -07:00
parent 25232e8f96
commit 7ba377b3c2
6 changed files with 9 additions and 9 deletions

View File

@@ -1006,7 +1006,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
if (Args.hasArg(OPT_disable_requirement_machine_reuse))
Opts.EnableRequirementMachineReuse = false;
if (Args.hasArg(OPT_enable_regex_literals))
if (Args.hasArg(OPT_enable_bare_slash_regex))
Opts.EnableForwardSlashRegexLiterals = true;
if (Args.hasArg(OPT_enable_requirement_machine_opaque_archetypes))