File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Sources/SWBCore/LibSwiftDriver Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,9 @@ public final class SwiftModuleDependencyGraph: SwiftGlobalExplicitDependencyGrap
200200 if let modulePath = VirtualPath . lookup ( details. compiledModulePath. path) . absolutePath {
201201 swiftmodulePaths. append ( modulePath. pathString)
202202 }
203- case . clang, . swiftPlaceholder:
203+ case . clang:
204+ fallthrough
205+ default :
204206 break
205207 }
206208 }
@@ -223,15 +225,13 @@ public final class SwiftModuleDependencyGraph: SwiftGlobalExplicitDependencyGrap
223225 }
224226 fileDependencies. append ( contentsOf: moduleInfo. sourceFiles ?? [ ] )
225227 switch moduleInfo. details {
226- case . swift:
227- break
228- case . swiftPlaceholder:
229- break
230228 case . swiftPrebuiltExternal( let details) :
231229 if let modulePath = VirtualPath . lookup ( details. compiledModulePath. path) . absolutePath {
232230 fileDependencies. append ( modulePath. pathString)
233231 }
234- case . clang:
232+ case . swift, . clang:
233+ fallthrough
234+ default :
235235 break
236236 }
237237 }
You can’t perform that action at this time.
0 commit comments