mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ModuleInterface] Conditionalize .swiftinterface loading by -enable-parseable-module-interface
This commit is contained in:
@@ -134,6 +134,8 @@ bool ArgsToFrontendOptionsConverter::convert(
|
||||
Args.hasArg(OPT_serialize_debugging_options);
|
||||
Opts.EnableSourceImport |= Args.hasArg(OPT_enable_source_import);
|
||||
Opts.ImportUnderlyingModule |= Args.hasArg(OPT_import_underlying_module);
|
||||
Opts.EnableParseableModuleInterface |=
|
||||
Args.hasArg(OPT_enable_parseable_module_interface);
|
||||
Opts.EnableSerializationNestedTypeLookupTable &=
|
||||
!Args.hasArg(OPT_disable_serialization_nested_type_lookup_table);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user