Lines Matching refs:CommaLoc
2193 SourceLocation CommaLoc; in ParseDeclGroup() local
2194 while (TryConsumeToken(tok::comma, CommaLoc)) { in ParseDeclGroup()
2199 Diag(CommaLoc, diag::err_expected_semi_declaration) in ParseDeclGroup()
2200 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup()
2207 D.setCommaLoc(CommaLoc); in ParseDeclGroup()
4370 SourceLocation CommaLoc; in ParseStructDeclaration() local
4373 DeclaratorInfo.D.setCommaLoc(CommaLoc); in ParseStructDeclaration()
4409 if (!TryConsumeToken(tok::comma, CommaLoc)) in ParseStructDeclaration()
5034 SourceLocation CommaLoc; in ParseEnumBody() local
5035 if (Tok.isNot(tok::r_brace) && !TryConsumeToken(tok::comma, CommaLoc)) { in ParseEnumBody()
5042 if (TryConsumeToken(tok::comma, CommaLoc)) in ParseEnumBody()
5050 if (Tok.is(tok::r_brace) && CommaLoc.isValid()) { in ParseEnumBody()
5052 Diag(CommaLoc, getLangOpts().CPlusPlus ? in ParseEnumBody()
5055 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody()
5057 Diag(CommaLoc, diag::warn_cxx98_compat_enumerator_list_comma) in ParseEnumBody()
5058 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody()