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