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 @@ -209,10 +209,9 @@ extension ModuleDependencyGraph {
209
209
let diags = info. diagnosticEngine
210
210
var allFound = true
211
211
for input in info. inputFiles {
212
- if let source = ofm. getDependencySource ( for: input, diagnosticEngine: diags) {
212
+ if let source = ofm. dependencySource ( for: input, diagnosticEngine: diags) {
213
213
inputDependencySourceMap. addEntry ( input, source, for: purpose)
214
- }
215
- else {
214
+ } else {
216
215
// Don't break in order to report all failures.
217
216
allFound = false
218
217
}
@@ -221,7 +220,7 @@ extension ModuleDependencyGraph {
221
220
}
222
221
}
223
222
extension OutputFileMap {
224
- fileprivate func getDependencySource (
223
+ fileprivate func dependencySource (
225
224
for sourceFile: TypedVirtualPath ,
226
225
diagnosticEngine: DiagnosticsEngine
227
226
) -> DependencySource ? {
@@ -345,8 +344,7 @@ extension ModuleDependencyGraph {
345
344
) -> TransitivelyInvalidatedInputSet ? {
346
345
var invalidatedInputs = TransitivelyInvalidatedInputSet ( )
347
346
for invalidatedSwiftDeps in collectSwiftDepsUsingInvalidated ( nodes: directlyInvalidatedNodes) {
348
- guard let invalidatedInput = input ( neededFor: invalidatedSwiftDeps)
349
- else {
347
+ guard let invalidatedInput = input ( neededFor: invalidatedSwiftDeps) else {
350
348
return nil
351
349
}
352
350
invalidatedInputs. insert ( invalidatedInput)
You can’t perform that action at this time.
0 commit comments