Lines Matching defs:DiagLevel
156 ClangTidyError::Level DiagLevel,
158 : tooling::Diagnostic(CheckName, DiagLevel, BuildDirectory),
203 static_cast<DiagnosticIDs::Level>(Error.DiagLevel));
213 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info,
217 return NoLintHandler.shouldSuppress(DiagLevel, Info, CheckName, NoLintErrors,
333 Error.DiagLevel != ClangTidyError::Error) {
373 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) {
374 if (LastErrorWasIgnored && DiagLevel == DiagnosticsEngine::Note)
378 if (Context.shouldSuppressDiagnostic(DiagLevel, Info, SuppressionErrors,
390 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info);
392 if (DiagLevel == DiagnosticsEngine::Note) {
401 switch (DiagLevel) {
419 if (DiagLevel == DiagnosticsEngine::Error ||
420 DiagLevel == DiagnosticsEngine::Fatal) {
426 } else if (DiagLevel == DiagnosticsEngine::Remark) {
430 bool IsWarningAsError = DiagLevel == DiagnosticsEngine::Warning &&
452 Converter.emitDiagnostic(Loc, DiagLevel, Message, Info.getRanges(),