@@ -193,7 +193,7 @@ ConstString SwiftLanguageRuntimeImpl::GetDynamicTypeName_ClassRemoteAST(
193193 in_value.GetTargetSP ());
194194 if (!ts)
195195 return {};
196- SwiftASTContext * swift_ast_ctx = ts->GetSwiftASTContext (sc);
196+ SwiftASTContextSP swift_ast_ctx = ts->GetSwiftASTContext (sc);
197197 if (!swift_ast_ctx)
198198 return {};
199199
@@ -232,7 +232,7 @@ SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_ExistentialRemoteAST(
232232 if (!stack_frame_sp)
233233 return {};
234234 auto &sc = stack_frame_sp->GetSymbolContext (eSymbolContextFunction);
235- SwiftASTContext * swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
235+ SwiftASTContextSP swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
236236 if (!swift_ast_ctx)
237237 return {};
238238
@@ -285,7 +285,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParametersRemoteAST(
285285 if (!scratch_ctx)
286286 return base_type;
287287
288- SwiftASTContext * swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
288+ SwiftASTContextSP swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
289289 if (!swift_ast_ctx)
290290 return base_type;
291291 base_type = swift_ast_ctx->ImportType (base_type, error);
@@ -407,7 +407,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParametersRemoteAST(
407407
408408 target_swift_type = target_swift_type.subst (
409409 [this , &stack_frame,
410- & swift_ast_ctx](swift::SubstitutableType *type) -> swift::Type {
410+ swift_ast_ctx](swift::SubstitutableType *type) -> swift::Type {
411411 StreamString type_name;
412412 if (!SwiftLanguageRuntime::GetAbstractTypeName (type_name, type))
413413 return type;
@@ -460,7 +460,7 @@ CompilerType SwiftLanguageRuntimeImpl::MetadataPromise::FulfillTypePromise(
460460 *error = Status::FromErrorString (" couldn't get Swift scratch context" );
461461 return CompilerType ();
462462 }
463- SwiftASTContext * swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
463+ SwiftASTContextSP swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
464464 if (!swift_ast_ctx) {
465465 if (error)
466466 *error = Status::FromErrorString (" couldn't get Swift scratch context" );
@@ -497,7 +497,7 @@ SwiftLanguageRuntimeImpl::GetMetadataPromise(const SymbolContext &sc,
497497 for_object.GetTargetSP ());
498498 if (!scratch_ctx)
499499 return nullptr ;
500- SwiftASTContext * swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
500+ SwiftASTContextSP swift_ast_ctx = scratch_ctx->GetSwiftASTContext (sc);
501501 if (!swift_ast_ctx)
502502 return nullptr ;
503503 if (swift_ast_ctx->HasFatalErrors ())
0 commit comments