Skip to content

Commit c651c83

Browse files
author
David Ungar
committed
Rename ensureGraphWillRetraceDependents(of:) to be more accurate.
1 parent a3dec6b commit c651c83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ extension OutputFileMap {
341341
// MARK: - tracking traced nodes
342342
extension ModuleDependencyGraph {
343343

344-
func ensureGraphWillRetraceDependents<Nodes: Sequence>(of nodes: Nodes)
344+
func ensureGraphWillRetrace<Nodes: Sequence>(_ nodes: Nodes)
345345
where Nodes.Element == Node
346346
{
347347
for node in nodes {

Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraphParts/Integrator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ extension ModuleDependencyGraph.Integrator {
9191
private mutating func integrate() {
9292
integrateEachSourceNode()
9393
handleDisappearedNodes()
94-
destination.ensureGraphWillRetraceDependents(of: results.allInvalidatedNodes)
94+
destination.ensureGraphWillRetrace(results.allInvalidatedNodes)
9595
}
9696
private mutating func integrateEachSourceNode() {
9797
sourceGraph.forEachNode { integrate(oneNode: $0) }

0 commit comments

Comments
 (0)