Skip to content

Commit 6c559f3

Browse files
Merge pull request swiftlang#86065 from cachemeifyoucan/eng/PR-166557713-6.3
[6.3][ModuleLoader] Remove `llvm_unreachable` in findModuleFilesInDirectory()
2 parents 2d4c98d + 04f4be6 commit 6c559f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Frontend/ModuleInterfaceLoader.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,6 @@ std::error_code ExplicitSwiftModuleLoader::findModuleFilesInDirectory(
23842384
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer,
23852385
bool IsCanImportLookup, bool IsFramework,
23862386
bool IsTestableDependencyLookup) {
2387-
llvm_unreachable("Not supported in the Explicit Swift Module Loader.");
23882387
return std::make_error_code(std::errc::not_supported);
23892388
}
23902389

@@ -2758,7 +2757,6 @@ std::error_code ExplicitCASModuleLoader::findModuleFilesInDirectory(
27582757
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer,
27592758
bool IsCanImportLookup, bool IsFramework,
27602759
bool IsTestableDependencyLookup) {
2761-
llvm_unreachable("Not supported in the Explicit Swift Module Loader.");
27622760
return std::make_error_code(std::errc::not_supported);
27632761
}
27642762

0 commit comments

Comments
 (0)