Skip to content

Commit a73ae32

Browse files
authored
Merge pull request #3111 from hamishknight/another-one-bites-the-subst
2 parents e39f186 + 82fe01b commit a73ae32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6773,7 +6773,7 @@ CompilerType SwiftASTContext::GetFieldAtIndex(opaque_compiler_type_t type,
67736773
*is_bitfield_ptr = false;
67746774

67756775
swift::Type child_swift_type = swift_can_type->getTypeOfMember(
6776-
nominal->getModuleContext(), property, nullptr);
6776+
nominal->getModuleContext(), property);
67776777
return ToCompilerType(child_swift_type.getPointer());
67786778
}
67796779

@@ -7177,7 +7177,7 @@ CompilerType SwiftASTContext::GetChildCompilerTypeAtIndex(
71777177
// Find the stored property with this index.
71787178
auto property = stored_properties[idx];
71797179
swift::Type child_swift_type = swift_can_type->getTypeOfMember(
7180-
nominal->getModuleContext(), property, nullptr);
7180+
nominal->getModuleContext(), property);
71817181

71827182
CompilerType child_type = ToCompilerType(child_swift_type.getPointer());
71837183
child_name = property->getBaseName().userFacingName().str();

0 commit comments

Comments
 (0)