mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Adapt a swift/master change to master-next (StringRef vs std::string)
This commit is contained in:
@@ -1223,7 +1223,7 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
// FIXME: we shouldn't need this. Remove it?
|
||||
StringRef explictSwiftModuleMap = searchPathOpts.ExplicitSwiftModuleMap;
|
||||
subInvocation.getSearchPathOptions().ExplicitSwiftModuleMap =
|
||||
explictSwiftModuleMap;
|
||||
explictSwiftModuleMap.str();
|
||||
if (!explictSwiftModuleMap.empty()) {
|
||||
GenericArgs.push_back("-explicit-swift-module-map-file");
|
||||
GenericArgs.push_back(explictSwiftModuleMap);
|
||||
|
||||
Reference in New Issue
Block a user