mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[interop] support 'default' mode for '-cxx-interoperability-mode' option
Default corresponds to the Swift language version used to compile the input. Swift-5.9 is still supported for now, but will be removed shortly
This commit is contained in:
@@ -724,7 +724,7 @@ void SwiftLangSupport::editorOpenInterface(EditorConsumer &Consumer,
|
||||
}
|
||||
if (retryWithCxxEnabled) {
|
||||
std::vector<const char *> AdjustedArgs(Args.begin(), Args.end());
|
||||
AdjustedArgs.push_back("-cxx-interoperability-mode=swift-5.9");
|
||||
AdjustedArgs.push_back("-cxx-interoperability-mode=default");
|
||||
return editorOpenInterface(Consumer, Name, ModuleName, Group, AdjustedArgs,
|
||||
SynthesizedExtensions, InterestedUSR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user