Rename '-enable-objc-attr-requires-objc-module' to '-enable-objc-attr-requires-foundation-module' to accurately reflect its behavior.

Swift SVN r21304
This commit is contained in:
Ted Kremenek
2014-08-20 06:34:48 +00:00
parent e3261af695
commit acd30c9d4b
6 changed files with 15 additions and 15 deletions

View File

@@ -607,10 +607,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.DebuggerSupport |= Args.hasArg(OPT_debugger_support);
if (auto A = Args.getLastArg(OPT_enable_objc_attr_requires_objc_module,
OPT_disable_objc_attr_requires_objc_module)) {
if (auto A = Args.getLastArg(OPT_enable_objc_attr_requires_foundation_module,
OPT_disable_objc_attr_requires_foundation_module)) {
Opts.EnableObjCAttrRequiresObjCModule
= A->getOption().matches(OPT_enable_objc_attr_requires_objc_module);
= A->getOption().matches(OPT_enable_objc_attr_requires_foundation_module);
}
if (const Arg *A = Args.getLastArg(OPT_debug_constraints_attempt)) {