Skip to content

Commit ba0e516

Browse files
committed
Fixup access modifiers on members of *Details structs in the InterModuleDependencyGraph
1 parent c27d394 commit ba0e516

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Sources/SwiftDriver/Explicit Module Builds/InterModuleDependencyGraph.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,31 +72,31 @@ public struct BridgingHeader: Codable {
7272
/// Details specific to Swift modules.
7373
public struct SwiftModuleDetails: Codable {
7474
/// The module interface from which this module was built, if any.
75-
public var moduleInterfacePath: String?
75+
var moduleInterfacePath: String?
7676

7777
/// The paths of potentially ready-to-use compiled modules for the interface.
78-
public var compiledModuleCandidates: [String]?
78+
@_spi(Testing) public var compiledModuleCandidates: [String]?
7979

8080
/// The path to the already-compiled module that must be used instead of
8181
/// generating a job to build this module. In standard compilation, the dependency scanner
8282
/// may discover compiled module candidates to be used instead of re-compiling from interface.
8383
/// In contrast, this explicitCompiledModulePath is only to be used for precompiled modules
8484
/// external dependencies in Explicit Module Build mode
85-
public var explicitCompiledModulePath: String?
85+
var explicitCompiledModulePath: String?
8686

8787
/// The bridging header, if any.
88-
public var bridgingHeaderPath: String?
88+
var bridgingHeaderPath: String?
8989

9090
/// The source files referenced by the bridging header.
91-
public var bridgingSourceFiles: [String]? = []
91+
var bridgingSourceFiles: [String]? = []
9292

9393
/// Options to the compile command
94-
public var commandLine: [String]? = []
94+
var commandLine: [String]? = []
9595

9696
/// To build a PCM to be used by this Swift module, we need to append these
9797
/// arguments to the generic PCM build arguments reported from the dependency
9898
/// graph.
99-
public var extraPcmArgs: [String]?
99+
var extraPcmArgs: [String]?
100100
}
101101

102102
/// Details specific to Swift external modules.
@@ -111,13 +111,13 @@ public struct swiftPlaceholderModuleDetails: Codable {
111111
/// Details specific to Clang modules.
112112
public struct ClangModuleDetails: Codable {
113113
/// The path to the module map used to build this module.
114-
public var moduleMapPath: String
114+
var moduleMapPath: String
115115

116116
/// clang-generated context hash
117-
public var contextHash: String?
117+
var contextHash: String?
118118

119119
/// Options to the compile command
120-
public var commandLine: [String]? = []
120+
var commandLine: [String]? = []
121121
}
122122

123123
public struct ModuleInfo: Codable {

0 commit comments

Comments
 (0)