Lines Matching refs:DiagId
435 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) {
436 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator());
446 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId
463 addDiag(Loc, DiagId);
472 OptionalDiagnostic Diag(const Expr *E, diag::kind DiagId
476 return Diag(E->getExprLoc(), DiagId, ExtraNotes);
486 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId
494 return Diag(Loc, DiagId, ExtraNotes);
498 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) {
501 return OptionalDiagnostic(&addDiag(Loc, DiagId));