Home | History | Annotate | Download | only in Frontend

Lines Matching full:diags

31   : Diags(_Diags),
32 PrimaryClient(Diags.getClient()), OwnsPrimaryClient(Diags.ownsClient()),
36 Diags.takeClient();
37 if (Diags.hasSourceManager())
38 setSourceManager(Diags.getSourceManager());
46 Diags.takeClient();
288 DiagnosticsEngine &Diags = PP ? PP->getDiagnostics() : SM.getDiagnostics();
313 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
323 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
377 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
390 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
413 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
432 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
441 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
470 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),
574 static unsigned PrintUnexpected(DiagnosticsEngine &Diags, SourceManager *SourceMgr,
595 Diags.Report(diag::err_verify_inconsistent_diags).setForceEmit()
602 static unsigned PrintExpected(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
620 Diags.Report(diag::err_verify_inconsistent_diags).setForceEmit()
644 static unsigned CheckLists(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
681 unsigned num = PrintExpected(Diags, SourceMgr, LeftOnly, Label);
682 num += PrintUnexpected(Diags, &SourceMgr, Right.begin(), Right.end(), Label);
690 static unsigned CheckResults(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
701 NumProblems += CheckLists(Diags, SourceMgr, "error", ED.Errors,
705 NumProblems += CheckLists(Diags, SourceMgr, "warning", ED.Warnings,
709 NumProblems += CheckLists(Diags, SourceMgr, "note", ED.Notes,
750 bool OwnsCurClient = Diags.ownsClient();
751 DiagnosticConsumer *CurClient = Diags.takeClient();
752 Diags.setClient(PrimaryClient, false);
797 Diags.Report(diag::err_verify_no_directives).setForceEmit();
803 NumErrors += CheckResults(Diags, *SrcManager, *Buffer, ED);
805 NumErrors += (PrintUnexpected(Diags, 0, Buffer->err_begin(),
807 PrintUnexpected(Diags, 0, Buffer->warn_begin(),
809 PrintUnexpected(Diags, 0, Buffer->note_begin(),
813 Diags.takeClient();
814 Diags.setClient(CurClient, OwnsCurClient);