reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Basic/DiagnosticIDs.cpp
  630   Diagnostic Info(&Diag);
  632   assert(Diag.getClient() && "DiagnosticClient not set!");
  637     = getDiagnosticLevel(DiagID, Info.getLocation(), Diag);
  642     ++Diag.TrapNumErrorsOccurred;
  644       ++Diag.TrapNumUnrecoverableErrorsOccurred;
  647   if (Diag.SuppressAllDiagnostics)
  655     if (Diag.LastDiagLevel == DiagnosticIDs::Fatal)
  656       Diag.FatalErrorOccurred = true;
  658     Diag.LastDiagLevel = DiagLevel;
  663   if (Diag.FatalErrorOccurred) {
  665         Diag.Client->IncludeInDiagnosticCounts()) {
  666       ++Diag.NumErrors;
  676        Diag.LastDiagLevel == DiagnosticIDs::Ignored))
  681       Diag.UnrecoverableErrorOccurred = true;
  685       Diag.UncompilableErrorOccurred = true;
  687     Diag.ErrorOccurred = true;
  688     if (Diag.Client->IncludeInDiagnosticCounts()) {
  689       ++Diag.NumErrors;
  694     if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit &&
  694     if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit &&
  694     if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit &&
  696       Diag.SetDelayedDiagnostic(diag::fatal_too_many_errors);
  703   if (Diag.CurDiagID == diag::fatal_too_many_errors)
  704     Diag.FatalErrorOccurred = true;
  706   EmitDiag(Diag, DiagLevel);