Lines Matching refs:DiagLevel
613 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
618 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
627 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
635 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
641 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
651 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
652 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
656 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
672 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
679 EmitDiag(Diag, DiagLevel); in ProcessDiag()
683 void DiagnosticIDs::EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const { in EmitDiag()
685 assert(DiagLevel != DiagnosticIDs::Ignored && "Cannot emit ignored diagnostics!"); in EmitDiag()
687 Diag.Client->HandleDiagnostic((DiagnosticsEngine::Level)DiagLevel, Info); in EmitDiag()
689 if (DiagLevel == DiagnosticIDs::Warning) in EmitDiag()