mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user