Skip to content

Commit f6ae539

Browse files
author
David Ungar
committed
Fix comment for InputDependencySourceMap.init
1 parent b6cc8ec commit f6ae539

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraphParts/InputDependencySourceMap.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ import TSCBasic
2222
public typealias BiMap = BidirectionalMap<TypedVirtualPath, DependencySource>
2323
@_spi(Testing) public let biMap: BiMap
2424

25-
/// Create the reverse map to map swiftdeps -> input (source) file from the `OutputFileMap`
26-
///
27-
/// - Returns: the map, or nil if error
25+
/// Based on entries in the `OutputFileMap`, create the bidirectional map to map each source file
26+
/// path to- and from- the corresponding swiftdeps file path.
27+
///
28+
/// - Returns: the map, or nil if error
2829
init?(_ info: IncrementalCompilationState.IncrementalDependencyAndInputSetup) {
2930
let outputFileMap = info.outputFileMap
3031
let diagnosticEngine = info.diagnosticEngine

0 commit comments

Comments
 (0)