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
200
200
if let modulePath = VirtualPath . lookup ( details. compiledModulePath. path) . absolutePath {
201
201
swiftmodulePaths. append ( modulePath. pathString)
202
202
}
203
- case . clang, . swiftPlaceholder:
203
+ case . clang:
204
+ fallthrough
205
+ default :
204
206
break
205
207
}
206
208
}
@@ -223,15 +225,13 @@ public final class SwiftModuleDependencyGraph: SwiftGlobalExplicitDependencyGrap
223
225
}
224
226
fileDependencies. append ( contentsOf: moduleInfo. sourceFiles ?? [ ] )
225
227
switch moduleInfo. details {
226
- case . swift:
227
- break
228
- case . swiftPlaceholder:
229
- break
230
228
case . swiftPrebuiltExternal( let details) :
231
229
if let modulePath = VirtualPath . lookup ( details. compiledModulePath. path) . absolutePath {
232
230
fileDependencies. append ( modulePath. pathString)
233
231
}
234
- case . clang:
232
+ case . swift, . clang:
233
+ fallthrough
234
+ default :
235
235
break
236
236
}
237
237
}
You can’t perform that action at this time.
0 commit comments