@@ -310,14 +310,34 @@ struct ModuleRebuildInfo {
310
310
return " compiled with an older version of the compiler" ;
311
311
case Status::FormatTooNew:
312
312
return " compiled with a newer version of the compiler" ;
313
+ case Status::RevisionIncompatible:
314
+ return " compiled with a different version of the compiler" ;
315
+ case Status::NotInOSSA:
316
+ return " module was not built with OSSA" ;
317
+ case Status::MissingDependency:
318
+ return " missing dependency" ;
319
+ case Status::MissingUnderlyingModule:
320
+ return " missing underlying module" ;
321
+ case Status::CircularDependency:
322
+ return " circular dependency" ;
323
+ case Status::FailedToLoadBridgingHeader:
324
+ return " failed to load bridging header" ;
313
325
case Status::Malformed:
314
326
return " malformed" ;
327
+ case Status::MalformedDocumentation:
328
+ return " malformed documentation" ;
329
+ case Status::NameMismatch:
330
+ return " name mismatch" ;
315
331
case Status::TargetIncompatible:
316
332
return " compiled for a different target platform" ;
317
333
case Status::TargetTooNew:
318
334
return " target platform newer than current platform" ;
319
- default : return nullptr ;
335
+ case Status::SDKMismatch:
336
+ return " SDK does not match" ;
337
+ case Status::Valid:
338
+ return nullptr ;
320
339
}
340
+ llvm_unreachable (" bad status" );
321
341
}
322
342
323
343
// / Emits a diagnostic for all out-of-date compiled or forwarding modules
0 commit comments