mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: ensure -disable-clang-spi flag to propagate to module interface builders
This commit is contained in:
@@ -1197,7 +1197,9 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts,
|
||||
|
||||
Opts.DisableOverlayModules |= Args.hasArg(OPT_emit_imported_modules);
|
||||
|
||||
Opts.EnableClangSPI = !Args.hasArg(OPT_disable_clang_spi);
|
||||
if (Args.hasArg(OPT_disable_clang_spi)) {
|
||||
Opts.EnableClangSPI = false;
|
||||
}
|
||||
|
||||
Opts.ExtraArgsOnly |= Args.hasArg(OPT_extra_clang_options_only);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user