File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Sources/SwiftDriver/IncrementalCompilation Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,9 @@ extension ModuleDependencyGraph {
207
207
let diags = info. diagnosticEngine
208
208
var allFound = true
209
209
for input in info. inputFiles {
210
- if let source = ofm. getDependencySource ( for: input, diagnosticEngine: diags) {
210
+ if let source = ofm. dependencySource ( for: input, diagnosticEngine: diags) {
211
211
inputDependencySourceMap. addEntry ( input, source, for: purpose)
212
- }
213
- else {
212
+ } else {
214
213
// Don't break in order to report all failures.
215
214
allFound = false
216
215
}
@@ -219,7 +218,7 @@ extension ModuleDependencyGraph {
219
218
}
220
219
}
221
220
extension OutputFileMap {
222
- fileprivate func getDependencySource (
221
+ fileprivate func dependencySource (
223
222
for sourceFile: TypedVirtualPath ,
224
223
diagnosticEngine: DiagnosticsEngine
225
224
) -> DependencySource ? {
@@ -343,8 +342,7 @@ extension ModuleDependencyGraph {
343
342
) -> TransitivelyInvalidatedInputSet ? {
344
343
var invalidatedInputs = TransitivelyInvalidatedInputSet ( )
345
344
for invalidatedSwiftDeps in collectSwiftDepsUsingInvalidated ( nodes: directlyInvalidatedNodes) {
346
- guard let invalidatedInput = getNeededInput ( for: invalidatedSwiftDeps)
347
- else {
345
+ guard let invalidatedInput = input ( neededFor: invalidatedSwiftDeps) else {
348
346
return nil
349
347
}
350
348
invalidatedInputs. insert ( invalidatedInput)
You can’t perform that action at this time.
0 commit comments