applyMandatoryPasses(reportingDiagnosticsTo:)

public mutating func applyMandatoryPasses(
  reportingDiagnosticsTo log: inout DiagnosticSet
) throws

Applies all mandatory passes in this module, accumulating diagnostics in log and throwing if a pass reports an error.