Remove -[no]implicit-objc-with.

Toggling this option causes funny things to happen, and there's no
point in keeping it.

Swift SVN r20565
This commit is contained in:
Doug Gregor
2014-07-25 22:13:46 +00:00
parent e9037bcfa7
commit ff92b5f007
10 changed files with 10 additions and 46 deletions

View File

@@ -586,12 +586,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableAppExtensionRestrictions |= Args.hasArg(OPT_enable_app_extension);
Opts.SplitPrepositions |= Args.hasArg(OPT_split_objc_selectors);
if (auto A = Args.getLastArg(OPT_implicit_objc_with,
OPT_no_implicit_objc_with)) {
Opts.ImplicitObjCWith
= A->getOption().matches(OPT_implicit_objc_with);
}
if (Opts.SplitPrepositions)
Opts.addBuildConfigOption("OBJC_SELECTOR_SPLITTING");