[Completion] Remove unused DocWords

The various keyword/recommended/etc fields were parsed and added to
completions, but never actually plumbed through SourceKit. Since they're
still unused and the implementation is not particularly lightweight,
just remove for now.

Resolves rdar://82464220
This commit is contained in:
Ben Barham
2021-08-27 11:26:17 +10:00
parent 382f04ac79
commit 8ae8f1d204
8 changed files with 38 additions and 464 deletions

View File

@@ -1172,8 +1172,7 @@ Completion *CompletionBuilder::finish() {
current.getModuleName(), current.getSourceFilePath(),
current.getNotRecommendedReason(), current.getDiagnosticSeverity(),
current.getDiagnosticMessage(), current.getBriefDocComment(),
current.getAssociatedUSRs(), current.getDeclKeywords(),
typeRelation, opKind);
current.getAssociatedUSRs(), typeRelation, opKind);
} else {
base = SwiftResult(current.getKind(), semanticContext, flair,
current.getNumBytesToErase(), completionString,