Lines Matching full:diagid
96 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) {
97 return Diags.Report(Loc, DiagID);
100 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) {
101 return Diag(Tok.getLocation(), DiagID);
166 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
176 Diag(Loc, DiagID)
191 Diag(EndLoc, DiagID)
195 Diag(Tok, DiagID) << Msg;
202 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) {
218 return ExpectAndConsume(tok::semi, DiagID);
781 unsigned DiagID;
782 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID))
783 Diag(AtLoc, DiagID) << PrevSpec;
839 unsigned DiagID;
842 PrevSpec, DiagID);
1394 bool Parser::isTokenEqualOrMistypedEqualEqual(unsigned DiagID) {
1399 Diag(Tok, DiagID)