Skip to content

Commit 2ad0c13

Browse files
committed
[Swift] Update for TypeAliasType::get() change
1 parent 42f3e8e commit 2ad0c13

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
@@ -4793,7 +4793,7 @@ static CompilerType ValueDeclToType(swift::ValueDecl *decl) {
47934793
swift::TypeAliasDecl *alias_decl =
47944794
swift::cast<swift::TypeAliasDecl>(decl);
47954795
swift::Type swift_type = swift::TypeAliasType::get(
4796-
alias_decl, swift::Type(), swift::SubstitutionMap(),
4796+
alias_decl, swift::Type(), llvm::ArrayRef<swift::Type>(),
47974797
alias_decl->getUnderlyingType());
47984798
return ToCompilerType({swift_type.getPointer()});
47994799
}
@@ -4852,7 +4852,7 @@ static SwiftASTContext::TypeOrDecl DeclToTypeOrDecl(swift::Decl *decl) {
48524852
swift::TypeAliasDecl *alias_decl =
48534853
swift::cast<swift::TypeAliasDecl>(decl);
48544854
swift::Type swift_type = swift::TypeAliasType::get(
4855-
alias_decl, swift::Type(), swift::SubstitutionMap(),
4855+
alias_decl, swift::Type(), llvm::ArrayRef<swift::Type>(),
48564856
alias_decl->getUnderlyingType());
48574857
return ToCompilerType(swift_type.getPointer());
48584858
}

0 commit comments

Comments
 (0)