Lines Matching refs:Severity

163       diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false);  in GetDefaultDiagMapping()
166 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping()
169 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping()
350 GetDefaultDiagMapping(DiagID).getSeverity() != diag::Severity::Ignored; in isBuiltinExtensionDiag()
358 return GetDefaultDiagMapping(DiagID).getSeverity() == diag::Severity::Error; in isDefaultMappingAsError()
370 static DiagnosticIDs::Level toLevel(diag::Severity SV) { in toLevel()
372 case diag::Severity::Ignored: in toLevel()
374 case diag::Severity::Remark: in toLevel()
376 case diag::Severity::Warning: in toLevel()
378 case diag::Severity::Error: in toLevel()
380 case diag::Severity::Fatal: in toLevel()
409 diag::Severity
416 diag::Severity Result = diag::Severity::Fatal; in getDiagnosticSeverity()
426 if (Mapping.getSeverity() != diag::Severity()) in getDiagnosticSeverity()
430 if (Diag.EnableAllWarnings && Result == diag::Severity::Ignored && in getDiagnosticSeverity()
432 Result = diag::Severity::Warning; in getDiagnosticSeverity()
440 return diag::Severity::Ignored; in getDiagnosticSeverity()
448 if (Result == diag::Severity::Ignored) in getDiagnosticSeverity()
453 if (Result == diag::Severity::Warning && Diag.IgnoreAllWarnings) in getDiagnosticSeverity()
454 return diag::Severity::Ignored; in getDiagnosticSeverity()
457 if (Result == diag::Severity::Warning) { in getDiagnosticSeverity()
459 Result = diag::Severity::Error; in getDiagnosticSeverity()
464 if (Result == diag::Severity::Error) { in getDiagnosticSeverity()
466 Result = diag::Severity::Fatal; in getDiagnosticSeverity()
479 return diag::Severity::Ignored; in getDiagnosticSeverity()