@@ -564,12 +564,11 @@ struct SwiftASTManager::Implementation {
564
564
std::shared_ptr<SwiftStatistics> Stats,
565
565
std::shared_ptr<RequestTracker> ReqTracker,
566
566
std::shared_ptr<PluginRegistry> Plugins, StringRef SwiftExecutablePath,
567
- StringRef RuntimeResourcePath, StringRef DiagnosticDocumentationPath )
567
+ StringRef RuntimeResourcePath)
568
568
: EditorDocs(EditorDocs), Config(Config), Stats(Stats),
569
569
ReqTracker(ReqTracker), Plugins(Plugins),
570
570
SwiftExecutablePath(SwiftExecutablePath),
571
571
RuntimeResourcePath(RuntimeResourcePath),
572
- DiagnosticDocumentationPath(DiagnosticDocumentationPath),
573
572
SessionTimestamp(llvm::sys::toTimeT(std::chrono::system_clock::now())) {
574
573
}
575
574
@@ -582,7 +581,6 @@ struct SwiftASTManager::Implementation {
582
581
// / Used to find clang relative to it.
583
582
std::string SwiftExecutablePath;
584
583
std::string RuntimeResourcePath;
585
- std::string DiagnosticDocumentationPath;
586
584
SourceManager SourceMgr;
587
585
Cache<ASTKey, ASTProducerRef> ASTCache{ " sourcekit.swift.ASTCache" };
588
586
llvm::sys::Mutex CacheMtx;
@@ -668,10 +666,9 @@ SwiftASTManager::SwiftASTManager(
668
666
std::shared_ptr<SwiftStatistics> Stats,
669
667
std::shared_ptr<RequestTracker> ReqTracker,
670
668
std::shared_ptr<PluginRegistry> Plugins, StringRef SwiftExecutablePath,
671
- StringRef RuntimeResourcePath, StringRef DiagnosticDocumentationPath )
669
+ StringRef RuntimeResourcePath)
672
670
: Impl(*new Implementation(EditorDocs, Config, Stats, ReqTracker, Plugins,
673
- SwiftExecutablePath, RuntimeResourcePath,
674
- DiagnosticDocumentationPath)) {}
671
+ SwiftExecutablePath, RuntimeResourcePath)) {}
675
672
676
673
SwiftASTManager::~SwiftASTManager () {
677
674
delete &Impl;
@@ -710,8 +707,8 @@ bool SwiftASTManager::initCompilerInvocation(
710
707
std::string &Error) {
711
708
return ide::initCompilerInvocation (
712
709
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);
715
712
}
716
713
717
714
bool SwiftASTManager::initCompilerInvocation (
0 commit comments