Skip to content

Commit 0699263

Browse files
committed
Eliminate use of now-removed getInnerParenType().
1 parent 01fa24c commit 0699263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ namespace {
743743
void favorMatchingUnaryOperators(ApplyExpr *expr,
744744
ConstraintSystem &CS) {
745745
// Find the argument type.
746-
auto argTy = getInnerParenType(expr->getArg()->getType());
746+
auto argTy = expr->getArg()->getType()->getWithoutParens();
747747

748748
// Determine whether the given declaration is favored.
749749
auto isFavoredDecl = [&](ValueDecl *value) -> bool {

0 commit comments

Comments
 (0)