| /llvm-project-15.0.7/clang/lib/Tooling/Core/ |
| H A D | Diagnostic.cpp | 49 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic() argument 50 : DiagnosticName(DiagnosticName), DiagLevel(DiagLevel), in Diagnostic() 56 Level DiagLevel, llvm::StringRef BuildDirectory) in Diagnostic() argument 58 DiagLevel(DiagLevel), BuildDirectory(BuildDirectory) {} in Diagnostic()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 128 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 131 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 134 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic() 135 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic() 136 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic() 137 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 144 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic() 147 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic() 182 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | DiagnosticsYaml.h | 66 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR() 70 DiagLevel(D.DiagLevel), BuildDirectory(D.BuildDirectory) {} in LLVM_YAML_IS_SEQUENCE_VECTOR() 74 DiagLevel, BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR() 80 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR() 90 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | ChainedDiagnosticConsumer.h | 59 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 62 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 64 Primary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 65 Secondary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
|
| H A D | TextDiagnosticBuffer.h | 53 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
| H A D | LogDiagnosticPrinter.h | 78 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyDiagnosticConsumer.cpp | 155 ClangTidyError::Level DiagLevel, in ClangTidyError() argument 157 : tooling::Diagnostic(CheckName, DiagLevel, BuildDirectory), in ClangTidyError() 212 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info, in shouldSuppressDiagnostic() argument 304 Error.DiagLevel != ClangTidyError::Error) { in finalizeLastError() 346 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) { in HandleDiagnostic() argument 364 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 366 if (DiagLevel == DiagnosticsEngine::Note) { in HandleDiagnostic() 375 switch (DiagLevel) { in HandleDiagnostic() 393 if (DiagLevel == DiagnosticsEngine::Error || in HandleDiagnostic() 394 DiagLevel == DiagnosticsEngine::Fatal) { in HandleDiagnostic() [all …]
|
| H A D | NoLintDirectiveHandler.cpp | 221 bool shouldSuppress(DiagnosticsEngine::Level DiagLevel, 244 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Diag, in shouldSuppress() argument 247 if (DiagLevel >= DiagnosticsEngine::Error) in shouldSuppress() 368 Error.DiagLevel = tooling::Diagnostic::Error; in makeNoLintError() 407 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Diag, in shouldSuppress() argument 410 return PImpl->shouldSuppress(DiagLevel, Diag, DiagName, NoLintErrors, AllowIO, in shouldSuppress()
|
| H A D | ClangTidyDiagnosticConsumer.h | 37 ClangTidyError(StringRef CheckName, Level DiagLevel, StringRef BuildDirectory, 115 shouldSuppressDiagnostic(DiagnosticsEngine::Level DiagLevel, 266 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
| H A D | NoLintDirectiveHandler.h | 38 bool shouldSuppress(DiagnosticsEngine::Level DiagLevel,
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 759 DiagnosticIDs::Level DiagLevel in ProcessDiag() local 764 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag() 773 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag() 781 Diag.LastDiagLevel = DiagLevel; in ProcessDiag() 787 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag() 797 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag() 798 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag() 802 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag() 818 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag() 829 EmitDiag(Diag, DiagLevel); in ProcessDiag() [all …]
|
| H A D | Diagnostic.cpp | 519 Level DiagLevel = storedDiag.getLevel(); in Report() local 521 Client->HandleDiagnostic(DiagLevel, Info); in Report() 523 if (DiagLevel == DiagnosticsEngine::Warning) in Report() 538 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local 541 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic() 544 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic() 564 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 569 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic() 571 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic() 1202 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Core/ |
| H A D | Diagnostic.h | 77 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel, 81 const SmallVector<DiagnosticMessage, 1> &Notes, Level DiagLevel, 94 Level DiagLevel; member
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Diagnostics.cpp | 660 D.Severity = DiagLevel; in fillNonLocationData() 674 IgnoreDiagnostics::log(DiagLevel, Info); in HandleDiagnostic() 678 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic() 687 IgnoreDiagnostics::log(DiagLevel, Info); in HandleDiagnostic() 697 fillNonLocationData(DiagLevel, Info, *LastDiag); in HandleDiagnostic() 706 IgnoreDiagnostics::log(DiagLevel, Info); in HandleDiagnostic() 713 fillNonLocationData(DiagLevel, Info, D); in HandleDiagnostic() 791 if (!isNote(DiagLevel)) { in HandleDiagnostic() 798 DiagLevel = Adjuster(DiagLevel, Info); in HandleDiagnostic() 822 IgnoreDiagnostics::log(DiagLevel, Info); in HandleDiagnostic() [all …]
|
| H A D | Compiler.h | 33 static void log(DiagnosticsEngine::Level DiagLevel, 36 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|
| H A D | Compiler.cpp | 20 void IgnoreDiagnostics::log(DiagnosticsEngine::Level DiagLevel, in log() argument 38 void IgnoreDiagnostics::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 40 IgnoreDiagnostics::log(DiagLevel, Info); in HandleDiagnostic()
|
| H A D | ParsedAST.cpp | 505 ASTDiags.setLevelAdjuster([&](DiagnosticsEngine::Level DiagLevel, in build() 514 DiagLevel = It->second; in build() 533 DiagLevel, Info, TidySuppressedErrors, in build() 542 if (DiagLevel == DiagnosticsEngine::Warning && in build() 548 return DiagLevel; in build()
|
| H A D | IncludeFixer.h | 42 std::vector<Fix> fix(DiagnosticsEngine::Level DiagLevel,
|
| /llvm-project-15.0.7/clang/tools/diagtool/ |
| H A D | ShowEnabledWarnings.cpp | 126 DiagnosticsEngine::Level DiagLevel = in run() local 128 if (DiagLevel == DiagnosticsEngine::Ignored) in run() 132 Active.push_back(PrettyDiag(DR.getName(), WarningOpt, DiagLevel)); in run()
|
| /llvm-project-15.0.7/clang/lib/Testing/ |
| H A D | TestAST.cpp | 38 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 40 Out.emplace_back(DiagLevel, Info); in HandleDiagnostic() 41 if (ReportErrors && DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticPrinter.cpp | 156 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, 206 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, 540 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument 542 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag() 571 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 587 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic() 606 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic() 609 EmitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagLevel, in HandleDiagnostic() 612 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic() 622 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), DiagLevel, in HandleDiagnostic()
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.h | 96 enum DiagLevel { enum 139 DiagLevel Level; 208 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnalyzer.cpp | 42 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 44 if (DiagLevel == DiagnosticsEngine::Fatal) { in HandleDiagnostic()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | CompilationDatabase.cpp | 186 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument 191 } else if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic() 194 Other.HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
|
| /llvm-project-15.0.7/clang/include/clang/Rewrite/Frontend/ |
| H A D | FixItRewriter.h | 125 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
|