Adapt a swift/master change to master-next (StringRef vs std::string)

This commit is contained in:
David Zarzycki
2020-06-18 06:14:00 -04:00
parent 24a054cc59
commit c0c976355c

View File

@@ -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);