mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a -import-cf-types frontend option to enable
the CF type-import logic. Swift SVN r17205
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user