[SourceKit] Discover diagnostic documentation relative to sourcekitd

This commit is contained in:
Owen Voorhees
2020-05-03 15:05:26 -07:00
parent b2a742cb17
commit eb8aeba2b8
13 changed files with 108 additions and 43 deletions

View File

@@ -114,6 +114,7 @@ public:
// thread may be active trying to use it to post notifications.
// FIXME: Use shared_ptr ownership to avoid such issues.
Ctx = new SourceKit::Context(getRuntimeLibPath(),
/*diagnosticDocumentationPath*/ "",
SourceKit::createSwiftLangSupport,
/*dispatchOnMain=*/false);
auto localDocUpdState = std::make_shared<DocUpdateMutexState>();