mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user