Merge pull request #85010 from artemcm/AlwaysRebuildExplicitInterface

[Explicit Module Builds] Always rebuild the target module in explicit `-compile-module-from-interface` builds.
This commit is contained in:
Artem Chikin
2025-10-31 21:24:18 -04:00
committed by GitHub
6 changed files with 27 additions and 45 deletions

View File

@@ -1485,8 +1485,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableMacroLoadingRemarks = Args.hasArg(OPT_remark_macro_loading);
Opts.EnableIndexingSystemModuleRemarks = Args.hasArg(OPT_remark_indexing_system_module);
Opts.EnableSkipExplicitInterfaceModuleBuildRemarks = Args.hasArg(OPT_remark_skip_explicit_interface_build);
if (Args.hasArg(OPT_experimental_skip_non_exportable_decls)) {
// Only allow -experimental-skip-non-exportable-decls if either library
// evolution is enabled (in which case the module's ABI is independent of