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

References

tools/clang/tools/extra/clangd/Diagnostics.cpp
  492   DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info);
  494   if (Info.getLocation().isInvalid()) {
  498       IgnoreDiagnostics::log(DiagLevel, Info);
  505     LastDiag->ID = Info.getID();
  506     fillNonLocationData(DiagLevel, Info, *LastDiag);
  514   if (!LangOpts || !Info.hasSourceManager()) {
  515     IgnoreDiagnostics::log(DiagLevel, Info);
  519   bool InsideMainFile = isInsideMainFile(Info);
  520   SourceManager &SM = Info.getSourceManager();
  523     fillNonLocationData(DiagLevel, Info, D);
  526     D.Range = diagnosticRange(Info, *LangOpts);
  527     D.File = SM.getFilename(Info.getLocation());
  529         SM.getFileEntryForID(SM.getFileID(Info.getLocation())), SM);
  534     assert(!Info.getFixItHints().empty() &&
  540     for (auto &FixIt : Info.getFixItHints()) {
  553     if (SyntheticMessage && Info.getNumFixItHints() == 1) {
  554       const auto &FixIt = Info.getFixItHint(0);
  581       Info.FormatDiagnostic(Message);
  591       DiagLevel = Adjuster(DiagLevel, Info);
  600     LastDiag->ID = Info.getID();
  603       LastDiagWasAdjusted = adjustDiagFromHeader(*LastDiag, Info, *LangOpts);
  605     if (!Info.getFixItHints().empty())
  608       auto ExtraFixes = Fixer(DiagLevel, Info);
  623       IgnoreDiagnostics::log(DiagLevel, Info);
  627     if (!Info.getFixItHints().empty()) {
  631         IgnoreDiagnostics::log(DiagLevel, Info);