Remove unused literal convertible protocol descriptions

Formerly used in creating friendly type-checker diagnostics, these seem
to be dead now.

Swift SVN r32921
This commit is contained in:
Ben Langmuir
2015-10-27 21:52:53 +00:00
parent 3be9ef9f02
commit 2d465b8a32
2 changed files with 17 additions and 17 deletions

View File

@@ -254,7 +254,7 @@ getAlternativeLiteralTypes(KnownProtocolKind kind) {
switch (kind) {
#define PROTOCOL(Protocol) \
case KnownProtocolKind::Protocol: llvm_unreachable("Not a literal protocol");
#define LITERAL_CONVERTIBLE_PROTOCOL(Protocol, Description)
#define LITERAL_CONVERTIBLE_PROTOCOL(Protocol)
#include "swift/AST/KnownProtocols.def"
case KnownProtocolKind::ArrayLiteralConvertible: index = 0; break;
@@ -292,7 +292,7 @@ getAlternativeLiteralTypes(KnownProtocolKind kind) {
switch (kind) {
#define PROTOCOL(Protocol) \
case KnownProtocolKind::Protocol: llvm_unreachable("Not a literal protocol");
#define LITERAL_CONVERTIBLE_PROTOCOL(Protocol, Description)
#define LITERAL_CONVERTIBLE_PROTOCOL(Protocol)
#include "swift/AST/KnownProtocols.def"
case KnownProtocolKind::ArrayLiteralConvertible: