• Home
  • Raw
  • Download

Lines Matching refs:Severity

159       diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false);  in GetDefaultDiagMapping()
162 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping()
165 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping()
346 GetDefaultDiagMapping(DiagID).getSeverity() != diag::Severity::Ignored; in isBuiltinExtensionDiag()
354 return GetDefaultDiagMapping(DiagID).getSeverity() >= diag::Severity::Error; in isDefaultMappingAsError()
366 static DiagnosticIDs::Level toLevel(diag::Severity SV) { in toLevel()
368 case diag::Severity::Ignored: in toLevel()
370 case diag::Severity::Remark: in toLevel()
372 case diag::Severity::Warning: in toLevel()
374 case diag::Severity::Error: in toLevel()
376 case diag::Severity::Fatal: in toLevel()
405 diag::Severity
412 diag::Severity Result = diag::Severity::Fatal; in getDiagnosticSeverity()
422 if (Mapping.getSeverity() != diag::Severity()) in getDiagnosticSeverity()
426 if (Diag.EnableAllWarnings && Result == diag::Severity::Ignored && in getDiagnosticSeverity()
428 Result = diag::Severity::Warning; in getDiagnosticSeverity()
436 return diag::Severity::Ignored; in getDiagnosticSeverity()
444 if (Result == diag::Severity::Ignored) in getDiagnosticSeverity()
449 if (Result == diag::Severity::Warning && Diag.IgnoreAllWarnings) in getDiagnosticSeverity()
450 return diag::Severity::Ignored; in getDiagnosticSeverity()
453 if (Result == diag::Severity::Warning) { in getDiagnosticSeverity()
455 Result = diag::Severity::Error; in getDiagnosticSeverity()
460 if (Result == diag::Severity::Error) { in getDiagnosticSeverity()
462 Result = diag::Severity::Fatal; in getDiagnosticSeverity()
466 if (Result == diag::Severity::Fatal) { in getDiagnosticSeverity()
468 Result = diag::Severity::Error; in getDiagnosticSeverity()
481 return diag::Severity::Ignored; in getDiagnosticSeverity()