@@ -564,12 +564,11 @@ struct SwiftASTManager::Implementation {
564564 std::shared_ptr<SwiftStatistics> Stats,
565565 std::shared_ptr<RequestTracker> ReqTracker,
566566 std::shared_ptr<PluginRegistry> Plugins, StringRef SwiftExecutablePath,
567- StringRef RuntimeResourcePath, StringRef DiagnosticDocumentationPath )
567+ StringRef RuntimeResourcePath)
568568 : EditorDocs(EditorDocs), Config(Config), Stats(Stats),
569569 ReqTracker(ReqTracker), Plugins(Plugins),
570570 SwiftExecutablePath(SwiftExecutablePath),
571571 RuntimeResourcePath(RuntimeResourcePath),
572- DiagnosticDocumentationPath(DiagnosticDocumentationPath),
573572 SessionTimestamp(llvm::sys::toTimeT(std::chrono::system_clock::now())) {
574573 }
575574
@@ -582,7 +581,6 @@ struct SwiftASTManager::Implementation {
582581 // / Used to find clang relative to it.
583582 std::string SwiftExecutablePath;
584583 std::string RuntimeResourcePath;
585- std::string DiagnosticDocumentationPath;
586584 SourceManager SourceMgr;
587585 Cache<ASTKey, ASTProducerRef> ASTCache{ " sourcekit.swift.ASTCache" };
588586 llvm::sys::Mutex CacheMtx;
@@ -668,10 +666,9 @@ SwiftASTManager::SwiftASTManager(
668666 std::shared_ptr<SwiftStatistics> Stats,
669667 std::shared_ptr<RequestTracker> ReqTracker,
670668 std::shared_ptr<PluginRegistry> Plugins, StringRef SwiftExecutablePath,
671- StringRef RuntimeResourcePath, StringRef DiagnosticDocumentationPath )
669+ StringRef RuntimeResourcePath)
672670 : Impl(*new Implementation(EditorDocs, Config, Stats, ReqTracker, Plugins,
673- SwiftExecutablePath, RuntimeResourcePath,
674- DiagnosticDocumentationPath)) {}
671+ SwiftExecutablePath, RuntimeResourcePath)) {}
675672
676673SwiftASTManager::~SwiftASTManager () {
677674 delete &Impl;
@@ -710,8 +707,8 @@ bool SwiftASTManager::initCompilerInvocation(
710707 std::string &Error) {
711708 return ide::initCompilerInvocation (
712709 Invocation, OrigArgs, Action, Diags, UnresolvedPrimaryFile, FileSystem,
713- Impl.SwiftExecutablePath , Impl.RuntimeResourcePath ,
714- Impl. DiagnosticDocumentationPath , Impl. SessionTimestamp , Error);
710+ Impl.SwiftExecutablePath , Impl.RuntimeResourcePath , Impl. SessionTimestamp ,
711+ Error);
715712}
716713
717714bool SwiftASTManager::initCompilerInvocation (
0 commit comments