BooleanType => Boolean

This commit is contained in:
Maxim Moiseev
2015-11-05 14:15:52 -08:00
committed by Max Moiseev
parent 507b68315e
commit 2c95bb6d51
214 changed files with 350 additions and 344 deletions

View File

@@ -2241,7 +2241,7 @@ namespace {
Expr *condExpr = expr->getCondExpr();
auto booleanType
= CS.getTypeChecker().getProtocol(expr->getQuestionLoc(),
KnownProtocolKind::BooleanType);
KnownProtocolKind::Boolean);
if (!booleanType)
return Type();