mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Introduce special Builtin.TheTupleType singleton
This commit is contained in:
@@ -1788,6 +1788,9 @@ static bool shouldSerializeMember(Decl *D) {
|
||||
return false;
|
||||
llvm_unreachable("should never need to reserialize a member placeholder");
|
||||
|
||||
case DeclKind::BuiltinTuple:
|
||||
llvm_unreachable("BuiltinTupleDecl should not show up here");
|
||||
|
||||
case DeclKind::IfConfig:
|
||||
case DeclKind::PoundDiagnostic:
|
||||
return false;
|
||||
@@ -4273,6 +4276,10 @@ public:
|
||||
void visitMissingMemberDecl(const MissingMemberDecl *) {
|
||||
llvm_unreachable("member placeholders shouldn't be serialized");
|
||||
}
|
||||
|
||||
void visitBuiltinTupleDecl(const BuiltinTupleDecl *) {
|
||||
llvm_unreachable("BuiltinTupleDecl are not serialized");
|
||||
}
|
||||
};
|
||||
|
||||
/// When allowing modules with errors there may be cases where there's little
|
||||
|
||||
Reference in New Issue
Block a user