[Frontend] Handle imports in the C code tied to a Swift module.

The underlying module and/or bridging header are likely to contain
module imports that we need to know about.
This commit is contained in:
Huon Wilson
2017-03-16 17:27:17 -07:00
parent 55b2ba2524
commit 09cd885140
16 changed files with 107 additions and 13 deletions

View File

@@ -1028,6 +1028,8 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts,
Opts.DisableModulesValidateSystemHeaders |= Args.hasArg(OPT_disable_modules_validate_system_headers);
Opts.DisableAdapterModules |= Args.hasArg(OPT_emit_imported_modules);
return false;
}