[Gardening] 'throw' is not an expression keyword

Remove the workaround in CodeCompletion for this.
This commit is contained in:
Robert Widmann
2018-06-15 13:25:04 -07:00
parent 59fdc4da52
commit b7580493f5
2 changed files with 1 additions and 4 deletions

View File

@@ -4887,9 +4887,6 @@ static void addStmtKeywords(CodeCompletionResultSink &Sink, bool MaybeFuncBody)
};
#define STMT_KEYWORD(kw) AddKeyword(#kw, CodeCompletionKeywordKind::kw_##kw);
#include "swift/Syntax/TokenKinds.def"
// Throw is not marked as a STMT_KEYWORD.
AddKeyword("throw", CodeCompletionKeywordKind::kw_throw);
}
static void addLetVarKeywords(CodeCompletionResultSink &Sink) {