Lines Matching refs:isOneOf
290 IsIdentifierArg = Next.isOneOf(tok::r_paren, tok::comma); in ParseAttributeArgsCommon()
1656 if (Tok.isOneOf(tok::comma, tok::l_brace, tok::kw_try)) { in SkipMalformedDecl()
1762 Fixit &= Tok.isOneOf(tok::semi, tok::l_brace, tok::kw_try); in ParseDeclGroup()
2233 return T.isOneOf(tok::l_square, tok::l_paren, tok::r_paren, tok::semi, in isValidAfterIdentifierInDeclarator()
2512 assert(Tok.isOneOf(tok::kw_alignas, tok::kw__Alignas) && in ParseAlignmentSpecifier()
2555 Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype, in DiagnoseMissingSemiAfterTagDefinition()
2569 if (Tok.isOneOf(tok::kw_typename, tok::annot_typename)) { in DiagnoseMissingSemiAfterTagDefinition()
2584 if (Next.isOneOf(tok::star, tok::amp, tok::ampamp, tok::identifier, in DiagnoseMissingSemiAfterTagDefinition()
3830 if (Tok.isOneOf(tok::kw_class, tok::kw_struct)) { in ParseEnumSpecifier()
4666 if (Tok.isOneOf(tok::identifier, tok::annot_template_id)) { in isConstructorDeclarator()
5266 if (Tok.isOneOf(tok::identifier, tok::kw_operator, tok::annot_template_id, in ParseDirectDeclarator()
5376 if (Tok.isOneOf(tok::period, tok::arrow)) in ParseDirectDeclarator()
5752 if (Tok.isOneOf(tok::amp, tok::ampamp)) { in ParseRefQualifier()