File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
lldb/source/Plugins/SymbolFile/NativePDB Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -991,17 +991,16 @@ lldb_private::npdb::GetCompilerTypeForSimpleKind(SimpleTypeKind kind) {
991991 case SimpleTypeKind::WideCharacter:
992992 return lldb::eBasicTypeWChar;
993993
994- case SimpleTypeKind::None:
995- case SimpleTypeKind::NotTranslated:
996-
997994 // unsupported
998995 case SimpleTypeKind::Float48:
999996 case SimpleTypeKind::Complex16:
1000997 case SimpleTypeKind::Complex48:
1001998 case SimpleTypeKind::Complex128:
1002- default :
999+ case SimpleTypeKind::NotTranslated:
1000+ case SimpleTypeKind::None:
10031001 return lldb::eBasicTypeInvalid;
10041002 }
1003+ return lldb::eBasicTypeInvalid;
10051004}
10061005
10071006size_t lldb_private::npdb::GetTypeSizeForSimpleKind (SimpleTypeKind kind) {
@@ -1062,9 +1061,9 @@ size_t lldb_private::npdb::GetTypeSizeForSimpleKind(SimpleTypeKind kind) {
10621061 case SimpleTypeKind::Void:
10631062 case SimpleTypeKind::None:
10641063 case SimpleTypeKind::NotTranslated:
1065- default :
10661064 return 0 ;
10671065 }
1066+ return 0 ;
10681067}
10691068
10701069PdbTypeSymId lldb_private::npdb::GetBestPossibleDecl (PdbTypeSymId id,
Original file line number Diff line number Diff line change @@ -250,9 +250,9 @@ static llvm::StringRef GetSimpleTypeName(SimpleTypeKind kind) {
250250
251251 case SimpleTypeKind::None:
252252 case SimpleTypeKind::NotTranslated:
253- default :
254253 return " " ;
255254 }
255+ return " " ;
256256}
257257
258258static bool IsClassRecord (TypeLeafKind kind) {
You can’t perform that action at this time.
0 commit comments