Home | History | Annotate | Download | only in Parse

Lines Matching full:diagid

108 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) {
109 return Diags.Report(Loc, DiagID);
112 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) {
113 return Diag(Tok.getLocation(), DiagID);
150 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
160 Diag(Loc, DiagID)
175 Diag(EndLoc, DiagID)
179 Diag(Tok, DiagID) << Msg;
186 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) {
202 return ExpectAndConsume(tok::semi, DiagID);
809 unsigned DiagID;
810 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID))
811 Diag(AtLoc, DiagID) << PrevSpec;
872 unsigned DiagID;
875 PrevSpec, DiagID);
1687 bool Parser::BalancedDelimiterTracker::expectAndConsume(unsigned DiagID,
1691 if (P.ExpectAndConsume(Kind, DiagID, Msg, SkipToToc))