mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user