Merge pull request #33114 from brentdax/check-your-interfaces-at-the-door

Verify that just-emitted module interfaces parse and typecheck
This commit is contained in:
Brent Royal-Gordon
2020-08-24 20:33:58 -07:00
committed by GitHub
23 changed files with 203 additions and 26 deletions

View File

@@ -325,6 +325,8 @@ static void ParseModuleInterfaceArgs(ModuleInterfaceOptions &Opts,
Args.hasArg(OPT_experimental_print_full_convention);
Opts.ExperimentalSPIImports |=
Args.hasArg(OPT_experimental_spi_imports);
Opts.DebugPrintInvalidSyntax |=
Args.hasArg(OPT_debug_emit_invalid_swiftinterface_syntax);
}
/// Save a copy of any flags marked as ModuleInterfaceOption, if running