@@ -5696,6 +5696,7 @@ SwiftASTContext::GetTypeInfo(opaque_compiler_type_t type,
5696
5696
case swift::TypeKind::SILMoveOnlyWrapped:
5697
5697
case swift::TypeKind::SILToken:
5698
5698
case swift::TypeKind::TypeVariable:
5699
+ case swift::TypeKind::ErrorUnion:
5699
5700
case swift::TypeKind::Unresolved:
5700
5701
case swift::TypeKind::VariadicSequence:
5701
5702
LOG_PRINTF (GetLog (LLDBLog::Types), " Unexpected type: %s" ,
@@ -5892,6 +5893,7 @@ lldb::TypeClass SwiftASTContext::GetTypeClass(opaque_compiler_type_t type) {
5892
5893
case swift::TypeKind::OpenedArchetype:
5893
5894
case swift::TypeKind::UnboundGeneric:
5894
5895
case swift::TypeKind::TypeVariable:
5896
+ case swift::TypeKind::ErrorUnion:
5895
5897
case swift::TypeKind::ExistentialMetatype:
5896
5898
case swift::TypeKind::DynamicSelf:
5897
5899
case swift::TypeKind::Error:
@@ -6348,6 +6350,7 @@ lldb::Encoding SwiftASTContext::GetEncoding(opaque_compiler_type_t type,
6348
6350
case swift::TypeKind::SILToken:
6349
6351
case swift::TypeKind::PackArchetype:
6350
6352
case swift::TypeKind::TypeVariable:
6353
+ case swift::TypeKind::ErrorUnion:
6351
6354
case swift::TypeKind::Unresolved:
6352
6355
case swift::TypeKind::VariadicSequence:
6353
6356
break ;
@@ -6453,6 +6456,7 @@ uint32_t SwiftASTContext::GetNumChildren(opaque_compiler_type_t type,
6453
6456
case swift::TypeKind::SILToken:
6454
6457
case swift::TypeKind::PackArchetype:
6455
6458
case swift::TypeKind::TypeVariable:
6459
+ case swift::TypeKind::ErrorUnion:
6456
6460
case swift::TypeKind::Unresolved:
6457
6461
case swift::TypeKind::VariadicSequence:
6458
6462
break ;
@@ -6595,6 +6599,7 @@ uint32_t SwiftASTContext::GetNumFields(opaque_compiler_type_t type,
6595
6599
case swift::TypeKind::SILToken:
6596
6600
case swift::TypeKind::PackArchetype:
6597
6601
case swift::TypeKind::TypeVariable:
6602
+ case swift::TypeKind::ErrorUnion:
6598
6603
case swift::TypeKind::Unresolved:
6599
6604
case swift::TypeKind::VariadicSequence:
6600
6605
break ;
@@ -6826,6 +6831,7 @@ CompilerType SwiftASTContext::GetFieldAtIndex(opaque_compiler_type_t type,
6826
6831
case swift::TypeKind::SILToken:
6827
6832
case swift::TypeKind::PackArchetype:
6828
6833
case swift::TypeKind::TypeVariable:
6834
+ case swift::TypeKind::ErrorUnion:
6829
6835
case swift::TypeKind::Unresolved:
6830
6836
case swift::TypeKind::VariadicSequence:
6831
6837
break ;
@@ -7019,6 +7025,7 @@ uint32_t SwiftASTContext::GetNumPointeeChildren(opaque_compiler_type_t type) {
7019
7025
case swift::TypeKind::SILToken:
7020
7026
case swift::TypeKind::PackArchetype:
7021
7027
case swift::TypeKind::TypeVariable:
7028
+ case swift::TypeKind::ErrorUnion:
7022
7029
case swift::TypeKind::Unresolved:
7023
7030
case swift::TypeKind::VariadicSequence:
7024
7031
return 0 ;
@@ -7176,6 +7183,7 @@ CompilerType SwiftASTContext::GetChildCompilerTypeAtIndex(
7176
7183
case swift::TypeKind::SILToken:
7177
7184
case swift::TypeKind::PackArchetype:
7178
7185
case swift::TypeKind::TypeVariable:
7186
+ case swift::TypeKind::ErrorUnion:
7179
7187
case swift::TypeKind::Unresolved:
7180
7188
case swift::TypeKind::VariadicSequence:
7181
7189
break ;
@@ -7490,6 +7498,7 @@ size_t SwiftASTContext::GetIndexOfChildMemberWithName(
7490
7498
case swift::TypeKind::SILToken:
7491
7499
case swift::TypeKind::PackArchetype:
7492
7500
case swift::TypeKind::TypeVariable:
7501
+ case swift::TypeKind::ErrorUnion:
7493
7502
case swift::TypeKind::Unresolved:
7494
7503
case swift::TypeKind::VariadicSequence:
7495
7504
break ;
@@ -7880,6 +7889,7 @@ bool SwiftASTContext::DumpTypeValue(
7880
7889
case swift::TypeKind::SILToken:
7881
7890
case swift::TypeKind::PackArchetype:
7882
7891
case swift::TypeKind::TypeVariable:
7892
+ case swift::TypeKind::ErrorUnion:
7883
7893
case swift::TypeKind::Unresolved:
7884
7894
case swift::TypeKind::VariadicSequence:
7885
7895
break ;
0 commit comments