[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

@@ -116,6 +116,7 @@ public:
CursorInfoTest()
: Ctx(*new SourceKit::Context(getRuntimeLibPath(),
/*diagnosticDocumentationPath*/ "",
SourceKit::createSwiftLangSupport,
/*dispatchOnMain=*/false)) {
// This is avoiding destroying \p SourceKit::Context because another