Skip to content

Commit e056d46

Browse files
committed
[Type checker] Remove unused overload of typeCheckExpression().
1 parent 4b0e7b2 commit e056d46

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Sema/TypeChecker.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,12 +847,6 @@ class TypeChecker final {
847847
ExprTypeCheckListener *listener = nullptr,
848848
constraints::ConstraintSystem *baseCS = nullptr);
849849

850-
static Type typeCheckExpression(Expr *&expr, DeclContext *dc,
851-
ExprTypeCheckListener *listener) {
852-
return TypeChecker::typeCheckExpression(expr, dc, TypeLoc(), CTP_Unused,
853-
TypeCheckExprOptions(), listener);
854-
}
855-
856850
/// Type check the given expression and return its type without
857851
/// applying the solution.
858852
///

0 commit comments

Comments
 (0)