mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Staging: Guard private discriminators under -enable-primary-discriminators.
...rather than let this series of out-of-tree commits get any bigger. Swift SVN r21601
This commit is contained in:
@@ -588,6 +588,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.EnableExperimentalPatterns |= Args.hasArg(OPT_enable_experimental_patterns);
|
||||
|
||||
Opts.EnableCharacterLiterals |= Args.hasArg(OPT_enable_character_literals);
|
||||
Opts.UsePrivateDiscriminators |=
|
||||
Args.hasArg(OPT_enable_private_discriminators);
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_enable_access_control,
|
||||
OPT_disable_access_control)) {
|
||||
|
||||
Reference in New Issue
Block a user