We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37bd1bc + 06b8a43 commit d082451Copy full SHA for d082451
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
@@ -1484,8 +1484,10 @@ void *TypeSystemSwiftTypeRef::ReconstructType(opaque_compiler_type_t type) {
1484
}
1485
1486
CompilerType TypeSystemSwiftTypeRef::ReconstructType(CompilerType type) {
1487
- return {GetSwiftASTContext()->weak_from_this(),
1488
- ReconstructType(type.GetOpaqueQualType())};
+ if (auto *swift_ast_context = GetSwiftASTContext())
+ return {swift_ast_context->weak_from_this(),
1489
+ ReconstructType(type.GetOpaqueQualType())};
1490
+ return {};
1491
1492
1493
CompilerType TypeSystemSwiftTypeRef::GetTypeFromMangledTypename(
0 commit comments