mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #30403 from MForster/forster/string-fixes
Cherry-pick StringRef->std::string conversion fixes into `master`
This commit is contained in:
@@ -217,7 +217,7 @@ static void initTraceInfoImpl(trace::SwiftInvocation &SwiftArgs,
|
||||
ArrayRef<Str> Args) {
|
||||
llvm::raw_string_ostream OS(SwiftArgs.Args.Arguments);
|
||||
interleave(Args, [&OS](StringRef arg) { OS << arg; }, [&OS] { OS << ' '; });
|
||||
SwiftArgs.Args.PrimaryFile = InputFile;
|
||||
SwiftArgs.Args.PrimaryFile = InputFile.str();
|
||||
}
|
||||
|
||||
void trace::initTraceInfo(trace::SwiftInvocation &SwiftArgs,
|
||||
|
||||
Reference in New Issue
Block a user