Skip to content

Commit e5730d8

Browse files
committed
Add missing cases
1 parent 1b57e3e commit e5730d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,8 @@ static const char *getImportFailureString(swift::serialization::Status status) {
10731073
"was required to do so.";
10741074
case swift::serialization::Status::SDKMismatch:
10751075
return "The module file was built with a different SDK version.";
1076+
case swift::serialization::Status::ChannelIncompatible:
1077+
return "The distribution channel doesn't match.";
10761078
}
10771079
}
10781080

@@ -8599,6 +8601,9 @@ static void DescribeFileUnit(Stream &s, const swift::FileUnit *file_unit) {
85998601
case swift::SourceFileKind::Interface:
86008602
s.PutCString("Interface");
86018603
break;
8604+
case swift::SourceFileKind::DefaultArgument:
8605+
s.PutCString("Default Argument");
8606+
break;
86028607
}
86038608
}
86048609
} break;

0 commit comments

Comments
 (0)