Skip to content

Commit ce2cff5

Browse files
Merge pull request #86064 from cachemeifyoucan/eng/PR-166557713
[ModuleLoader] Remove `llvm_unreachable` in findModuleFilesInDirectory()
2 parents 342770e + f0d33be commit ce2cff5

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
@@ -2364,7 +2364,6 @@ std::error_code ExplicitSwiftModuleLoader::findModuleFilesInDirectory(
23642364
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer,
23652365
bool IsCanImportLookup, bool IsFramework,
23662366
bool IsTestableDependencyLookup) {
2367-
llvm_unreachable("Not supported in the Explicit Swift Module Loader.");
23682367
return std::make_error_code(std::errc::not_supported);
23692368
}
23702369

@@ -2712,7 +2711,6 @@ std::error_code ExplicitCASModuleLoader::findModuleFilesInDirectory(
27122711
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer,
27132712
bool IsCanImportLookup, bool IsFramework,
27142713
bool IsTestableDependencyLookup) {
2715-
llvm_unreachable("Not supported in the Explicit Swift Module Loader.");
27162714
return std::make_error_code(std::errc::not_supported);
27172715
}
27182716

0 commit comments

Comments
 (0)