Skip to content

Commit 46170cc

Browse files
authored
Merge pull request #1993 from compnerd/coverage
TypeSystem: silence some errors identified by MSVC
2 parents c872dd7 + 0180055 commit 46170cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ static const char *getImportFailureString(swift::serialization::Status status) {
12651265
return "The module file was built for a target newer than the current "
12661266
"target.";
12671267
}
1268+
llvm_unreachable("covered switch");
12681269
}
12691270

12701271
/// Initialize the compiler invocation with it the search paths from a
@@ -2991,6 +2992,7 @@ class SwiftDWARFImporterDelegate : public swift::DWARFImporterDelegate {
29912992
// described in DWARF.
29922993
return true;
29932994
}
2995+
llvm_unreachable("covered switch");
29942996
}
29952997

29962998
clang::Decl *GetDeclForTypeAndKind(clang::QualType qual_type,

0 commit comments

Comments
 (0)