mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`ModuleFile::error` was being used both for errors of initial parse and configuration (non-fatal) and format errors during actual deserialization (fatal, indicating a corrupted module). Split out the latter to `ModuleFile::fatal()` (to go with the existing `ModuleFile::fatal(llvm::Error)`) and be more consistent about explicitly setting statuses for the former. Since 'fatal()' is always fatal, this also allows deleting dummy recovery code that would never be used in practice.
77 KiB
77 KiB