mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CodeCompletion/SourceKit] Consolidate some chunk kinds
Consolidate ThrowsKeyword, RethrowsKeyword, and AsyncKeyword to EffectsSpecifierKeyword. Abolish 'key.throwsoffset' and 'key.throwslength' as they aren't used.
This commit is contained in:
@@ -38,9 +38,7 @@ static std::string toInsertableString(CodeCompletionResult *Result) {
|
||||
switch (C.getKind()) {
|
||||
case CodeCompletionString::Chunk::ChunkKind::AccessControlKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::OverrideKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::ThrowsKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::RethrowsKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::AsyncKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::EffectsSpecifierKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::DeclAttrKeyword:
|
||||
case CodeCompletionString::Chunk::ChunkKind::DeclIntroducer:
|
||||
case CodeCompletionString::Chunk::ChunkKind::Keyword:
|
||||
|
||||
Reference in New Issue
Block a user