@@ -169,7 +169,7 @@ fileprivate extension IncrementalCompilationState {
169
169
}
170
170
171
171
extension Diagnostic . Message {
172
- static var warning_incremental_requires_output_file_map : Diagnostic . Message {
172
+ fileprivate static var warning_incremental_requires_output_file_map : Diagnostic . Message {
173
173
. warning( " ignoring -incremental (currently requires an output file map) " )
174
174
}
175
175
static var warning_incremental_requires_build_record_entry : Diagnostic . Message {
@@ -178,10 +178,10 @@ extension Diagnostic.Message {
178
178
" output file map has no master dependencies entry under \( FileType . swiftDeps) "
179
179
)
180
180
}
181
- static func remark_incremental_compilation_disabled( because why: String ) -> Diagnostic . Message {
181
+ fileprivate static func remark_incremental_compilation_disabled( because why: String ) -> Diagnostic . Message {
182
182
. remark( " Incremental compilation has been disabled, because \( why) " )
183
183
}
184
- static func remark_incremental_compilation( because why: String ) -> Diagnostic . Message {
184
+ fileprivate static func remark_incremental_compilation( because why: String ) -> Diagnostic . Message {
185
185
. remark( " Incremental compilation: \( why) " )
186
186
}
187
187
}
@@ -379,7 +379,7 @@ extension IncrementalCompilationState {
379
379
380
380
/// Remember that `group` (a compilation and possibly bitcode generation)
381
381
/// must definitely be executed.
382
- func scheduleMandatoryPreOrCompile( group: [ Job ] ) {
382
+ private func scheduleMandatoryPreOrCompile( group: [ Job ] ) {
383
383
if let report = reportIncrementalDecision {
384
384
for job in group {
385
385
report ( " Queuing \( job. descriptionForLifecycle) " , nil )
@@ -393,7 +393,7 @@ extension IncrementalCompilationState {
393
393
}
394
394
395
395
/// Decide if this job does not need to run, unless some yet-to-be-discovered dependency changes.
396
- func isSkipped( _ job: Job ) -> Bool {
396
+ private func isSkipped( _ job: Job ) -> Bool {
397
397
guard job. kind == . compile else {
398
398
return false
399
399
}
@@ -402,7 +402,7 @@ extension IncrementalCompilationState {
402
402
}
403
403
404
404
/// Remember that this job-group will be skipped (but may be needed later)
405
- func recordSkippedGroup( _ group: [ Job ] ) {
405
+ private func recordSkippedGroup( _ group: [ Job ] ) {
406
406
let job = group. first!
407
407
for input in job. primaryInputs {
408
408
if let _ = skippedCompileGroups. updateValue ( group, forKey: input) {
0 commit comments