Lines Matching refs:OptionalDiagnostic
20 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, in FFDiag()
25 OptionalDiagnostic State::FFDiag(const Expr *E, diag::kind DiagId, in FFDiag()
30 return OptionalDiagnostic(); in FFDiag()
33 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId, in FFDiag()
38 return OptionalDiagnostic(); in FFDiag()
41 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag()
47 return OptionalDiagnostic(); in CCEDiag()
52 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, in CCEDiag()
57 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag::kind DiagId, in CCEDiag()
62 OptionalDiagnostic State::Note(SourceLocation Loc, diag::kind DiagId) { in Note()
64 return OptionalDiagnostic(); in Note()
65 return OptionalDiagnostic(&addDiag(Loc, DiagId)); in Note()
86 OptionalDiagnostic State::diag(SourceLocation Loc, diag::kind DiagId, in diag()
91 return OptionalDiagnostic(); in diag()
109 return OptionalDiagnostic(&(*EvalStatus.Diag)[0].second); in diag()
112 return OptionalDiagnostic(); in diag()