Skip to content

Commit 0faa0b6

Browse files
committed
[CS] NFC: Remove unused method
1 parent fd9fa72 commit 0faa0b6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/Sema/CSSyntacticElement.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,17 +1221,6 @@ class SyntacticElementSolutionApplication
12211221
virtual ~SyntacticElementSolutionApplication() {}
12221222

12231223
private:
1224-
/// Rewrite an expression without any particularly special context.
1225-
Expr *rewriteExpr(Expr *expr) {
1226-
auto result = rewriteTarget(SolutionApplicationTarget(
1227-
expr, context.getAsDeclContext(), CTP_Unused, Type(),
1228-
/*isDiscarded=*/false));
1229-
if (result)
1230-
return result->getAsExpr();
1231-
1232-
return nullptr;
1233-
}
1234-
12351224
ASTNode visit(Stmt *S) {
12361225
auto rewritten = ASTVisitor::visit(S);
12371226
if (!rewritten)

0 commit comments

Comments
 (0)