Skip to content

Commit 5e01db8

Browse files
authored
Merge pull request #9696 from slavapestov/type-alias-get-lldb
[Swift] Update for TypeAliasType::get() change
2 parents 7286898 + 2ad0c13 commit 5e01db8

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
@@ -4803,7 +4803,7 @@ static CompilerType ValueDeclToType(swift::ValueDecl *decl) {
48034803
swift::TypeAliasDecl *alias_decl =
48044804
swift::cast<swift::TypeAliasDecl>(decl);
48054805
swift::Type swift_type = swift::TypeAliasType::get(
4806-
alias_decl, swift::Type(), swift::SubstitutionMap(),
4806+
alias_decl, swift::Type(), llvm::ArrayRef<swift::Type>(),
48074807
alias_decl->getUnderlyingType());
48084808
return ToCompilerType({swift_type.getPointer()});
48094809
}
@@ -4862,7 +4862,7 @@ static SwiftASTContext::TypeOrDecl DeclToTypeOrDecl(swift::Decl *decl) {
48624862
swift::TypeAliasDecl *alias_decl =
48634863
swift::cast<swift::TypeAliasDecl>(decl);
48644864
swift::Type swift_type = swift::TypeAliasType::get(
4865-
alias_decl, swift::Type(), swift::SubstitutionMap(),
4865+
alias_decl, swift::Type(), llvm::ArrayRef<swift::Type>(),
48664866
alias_decl->getUnderlyingType());
48674867
return ToCompilerType(swift_type.getPointer());
48684868
}

0 commit comments

Comments
 (0)