[master-next] Fix compile error ParsedRawSyntaxNode and SwiftLangSupport

This commit is contained in:
Arnold Schwaighofer
2020-05-07 10:43:02 -07:00
parent 3bf99f3b4a
commit a195733336
2 changed files with 3 additions and 3 deletions

View File

@@ -270,7 +270,7 @@ SwiftLangSupport::SwiftLangSupport(SourceKit::Context &SKCtx)
llvm::SmallString<128> LibPath(SKCtx.getRuntimeLibPath());
llvm::sys::path::append(LibPath, "swift");
RuntimeResourcePath = std::string(LibPath.str());
DiagnosticDocumentationPath = SKCtx.getDiagnosticDocumentationPath();
DiagnosticDocumentationPath = SKCtx.getDiagnosticDocumentationPath().str();
Stats = std::make_shared<SwiftStatistics>();
EditorDocuments = std::make_shared<SwiftEditorDocumentFileMap>();