Skip to content

Commit 9c9f2e0

Browse files
CodaFiJDevlieghere
authored andcommitted
Remove the context parameter from performTypeChecking
Supports swiftlang/swift#28246 (cherry picked from commit 81dff85)
1 parent 3f3629c commit 9c9f2e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,9 +1463,7 @@ unsigned SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
14631463
return 2;
14641464
}
14651465

1466-
// Not persistent because we're building source files one at a time.
1467-
swift::TopLevelContext top_level_context;
1468-
swift::performTypeChecking(parsed_expr->source_file, top_level_context);
1466+
swift::performTypeChecking(parsed_expr->source_file);
14691467

14701468
if (swift_ast_ctx->HasErrors()) {
14711469
DiagnoseSwiftASTContextError();

0 commit comments

Comments
 (0)