Add a -import-cf-types frontend option to enable

the CF type-import logic.

Swift SVN r17205
This commit is contained in:
John McCall
2014-05-01 23:29:23 +00:00
parent 035e7dbec0
commit 0bc8309ff6
3 changed files with 11 additions and 0 deletions

View File

@@ -511,6 +511,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableExperimentalPatterns = true;
}
if (Args.hasArg(OPT_import_cf_types)) {
Opts.ImportCFTypes = true;
}
if (Args.hasArg(OPT_debug_constraints)) {
Opts.DebugConstraintSolver = true;
}