Eliminate use of now-removed getInnerParenType().

This commit is contained in:
Doug Gregor
2016-10-12 09:33:38 -07:00
parent 01fa24cc9b
commit 0699263b84

View File

@@ -743,7 +743,7 @@ namespace {
void favorMatchingUnaryOperators(ApplyExpr *expr,
ConstraintSystem &CS) {
// Find the argument type.
auto argTy = getInnerParenType(expr->getArg()->getType());
auto argTy = expr->getArg()->getType()->getWithoutParens();
// Determine whether the given declaration is favored.
auto isFavoredDecl = [&](ValueDecl *value) -> bool {