Merge pull request #82652 from xedin/rdar-153461854-serialization-fix

[Serialization] A temporary fix for `LocatableType`
This commit is contained in:
Pavel Yaskevich
2025-07-01 00:35:57 -07:00
committed by GitHub
2 changed files with 34 additions and 2 deletions

View File

@@ -5608,8 +5608,8 @@ public:
llvm_unreachable("error union types do not persist in the AST");
}
void visitLocatableType(const LocatableType *) {
llvm_unreachable("locatable types do not persist in the AST");
void visitLocatableType(const LocatableType *LT) {
visit(LT->getSinglyDesugaredType());
}
void visitBuiltinTypeImpl(Type ty) {