Lines Matching defs:CommaLoc
2527 SourceLocation CommaLoc;
2528 while (TryConsumeToken(tok::comma, CommaLoc)) {
2533 Diag(CommaLoc, diag::err_expected_semi_declaration)
2534 << FixItHint::CreateReplacement(CommaLoc, ";");
2545 Diag(CommaLoc, diag::err_multiple_template_declarators)
2551 D.setCommaLoc(CommaLoc);
4940 SourceLocation CommaLoc;
4943 DeclaratorInfo.D.setCommaLoc(CommaLoc);
4986 if (!TryConsumeToken(tok::comma, CommaLoc))
5702 SourceLocation CommaLoc;
5703 if (Tok.isNot(tok::r_brace) && !TryConsumeToken(tok::comma, CommaLoc)) {
5710 if (TryConsumeToken(tok::comma, CommaLoc))
5718 if (Tok.is(tok::r_brace) && CommaLoc.isValid()) {
5720 Diag(CommaLoc, getLangOpts().CPlusPlus ?
5723 << FixItHint::CreateRemoval(CommaLoc);
5725 Diag(CommaLoc, diag::warn_cxx98_compat_enumerator_list_comma)
5726 << FixItHint::CreateRemoval(CommaLoc);