mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add -no-implicit-objc-with for when we switch the default <rdar://problem/16795899>.
Swift SVN r17783
This commit is contained in:
@@ -549,7 +549,12 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.EnableAppExtensionRestrictions = Args.hasArg(OPT_enable_app_extension);
|
||||
Opts.SplitPrepositions = Args.hasArg(OPT_split_objc_selectors);
|
||||
Opts.ImplicitObjCWith = Args.hasArg(OPT_implicit_objc_with);
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_implicit_objc_with,
|
||||
OPT_no_implicit_objc_with)) {
|
||||
Opts.ImplicitObjCWith
|
||||
= A->getOption().matches(OPT_implicit_objc_with);
|
||||
}
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_strict_keyword_arguments,
|
||||
OPT_no_strict_keyword_arguments)) {
|
||||
|
||||
Reference in New Issue
Block a user