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

Declarations

tools/clang/include/clang/Sema/Sema.h
 1399   SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD);

References

tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1676       S.Diag(Diag.first.first, Diag.first.second);
 1678         S.Diag(Note.first, Note.second);
 1896       S.Diag(Diag.first.first, Diag.first.second);
 1898         S.Diag(Note.first, Note.second);
 2016     S.Diag(D.Loc, D.PD);
 2127           S.Diag(D.Loc, D.PD);
tools/clang/lib/Sema/Sema.cpp
 1754       Diag(PUD.Loc, PUD.PD);
 2127     Diag(Loc, PD) << /*zero-arg*/ 1 << IsMV << Range
 2144   Diag(Loc, PD) << /*not zero-arg*/ 0 << IsMV << Range;
tools/clang/lib/Sema/SemaAccess.cpp
 1265   S.Diag(Loc, Entity.getDiag())
tools/clang/lib/Sema/SemaChecking.cpp
 7655     const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag);
 7659     S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
12190   SemaRef.Diag(E->getExprLoc(), PD);
tools/clang/lib/Sema/SemaConcept.cpp
  118       Diag(PDiag.first, PDiag.second);
tools/clang/lib/Sema/SemaDecl.cpp
 9746     Diag(OldFD->getLocation(), NoProtoDiagID);
 9747     Diag(NoteCausedDiagIDAt.first, NoteCausedDiagIDAt.second);
 9752     return Diag(NewFD->getLocation(), NoProtoDiagID);
 9756     return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9761       return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9765       return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9769       return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9774     return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9778     return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9782     return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9790     return Diag(NoSupportDiagIDAt.first, NoSupportDiagIDAt.second)
 9801       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << CallingConv;
 9806       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << ReturnType;
 9809       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << ConstexprSpec;
 9812       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << InlineSpec;
 9815       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << StorageClass;
 9818       return Diag(DiffDiagIDAt.first, DiffDiagIDAt.second) << Linkage;
12501           Diag(Notes[I].first, Notes[I].second);
12528             Diag(it.first, it.second);
tools/clang/lib/Sema/SemaDeclAttr.cpp
  985       S.Diag(PDiag.first, PDiag.second);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 2304       SemaRef.Diag(Diags[I].first, Diags[I].second);
 8298     Diag(overloadedMD->getLocation(), PD);
13614         Diag(Notes[I].first, Notes[I].second);
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  638   S.Diag(NewLoc, DiagID);
  640     S.Diag(OldLoc, NoteID);
  797     Diag(SubLoc, NoThrowDiagID);
  799       Diag(SuperLoc, NoteID);
  807     Diag(SubLoc, DiagID);
  809       Diag(SuperLoc, NoteID);
  836       Diag(SubLoc, DiagID);
  838         Diag(SuperLoc, NoteID);
tools/clang/lib/Sema/SemaExpr.cpp
  223         Diag(Suppressed.first, Suppressed.second);
 1688     Diag(RemovalDiagLoc, RemovalDiag);
 7611     Self.Diag(Loc, Note)
 7616     Self.Diag(Loc, Note) << ParenRange;
14823   Diag(Loc, FDiag);
14996         Diag(Note.first, Note.second);
15004     Diag(Note.first, Note.second);
17127     Diag(Loc, PD);
tools/clang/lib/Sema/SemaInit.cpp
 6302     S.Diag(Loc, Diag);
 8936     S.Diag(Kind.getLocation(), PDiag);
tools/clang/lib/Sema/SemaLookup.cpp
 5462   Diag(Correction.getCorrectionRange().getBegin(), TypoDiag)
 5468     Diag(ChosenDecl->getLocation(), PrevNote)
 5473     Diag(Correction.getCorrectionRange().getBegin(), PD);
tools/clang/lib/Sema/SemaOverload.cpp
 5616       S.Diag(Notes[I].first, Notes[I].second);
 9863   Diag(Fn->getLocation(), PD);
 9897   S.Diag(CaretLoc, PDiag)
10140   S.Diag(Fn->getLocation(), FDiag);
11093   S.Diag(PD.first, PD.second);
tools/clang/lib/Sema/SemaStmt.cpp
 1573     S.Diag(Ranges.begin()->getBegin(), PDiag);
tools/clang/lib/Sema/SemaTemplate.cpp
 5807       S.Diag(Notes[I].first, Notes[I].second);
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 4974       Diag(Loc, NoneDiag);
 5023     Diag(Loc, AmbigDiag);
 5034       Diag((*I)->getLocation(), PD);
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  206       S.Diag(P.first, P.second);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  177       CI->getSema().Diag(Loc, PD);