mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Explicit Module Builds] Propagate the C++ Interop mode to interface sub-invocations and dependency scanner
This commit is contained in:
@@ -506,6 +506,9 @@ validateCxxInteropCompatibilityMode(StringRef mode) {
|
||||
// Swift 5 is the default language version.
|
||||
if (mode == "swift-5.9")
|
||||
return {CxxCompatMode::enabled, version::Version({5})};
|
||||
// Note: If this is updated, corresponding code in
|
||||
// InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl needs
|
||||
// to be updated also.
|
||||
return {CxxCompatMode::invalid, {}};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user