Lines Matching defs:CommaLoc
2562 SourceLocation CommaLoc;
2563 while (TryConsumeToken(tok::comma, CommaLoc)) {
2568 Diag(CommaLoc, diag::err_expected_semi_declaration)
2569 << FixItHint::CreateReplacement(CommaLoc, ";");
2580 Diag(CommaLoc, diag::err_multiple_template_declarators)
2586 D.setCommaLoc(CommaLoc);
4988 SourceLocation CommaLoc;
4991 DeclaratorInfo.D.setCommaLoc(CommaLoc);
5034 if (!TryConsumeToken(tok::comma, CommaLoc))
5752 SourceLocation CommaLoc;
5753 if (Tok.isNot(tok::r_brace) && !TryConsumeToken(tok::comma, CommaLoc)) {
5760 if (TryConsumeToken(tok::comma, CommaLoc))
5768 if (Tok.is(tok::r_brace) && CommaLoc.isValid()) {
5770 Diag(CommaLoc, getLangOpts().CPlusPlus ?
5773 << FixItHint::CreateRemoval(CommaLoc);
5775 Diag(CommaLoc, diag::warn_cxx98_compat_enumerator_list_comma)
5776 << FixItHint::CreateRemoval(CommaLoc);