Lines Matching refs:isOneOf

548       IsIdentifierArg = Next.isOneOf(tok::r_paren, tok::comma);  in ParseAttributeArgsCommon()
2215 if (Tok.isOneOf(tok::comma, tok::l_brace, tok::kw_try)) { in SkipMalformedDecl()
2346 Fixit &= Tok.isOneOf(tok::semi, tok::l_brace, tok::kw_try); in ParseDeclGroup()
2986 return T.isOneOf(tok::l_square, tok::l_paren, tok::r_paren, tok::semi, in isValidAfterIdentifierInDeclarator()
3319 assert(Tok.isOneOf(tok::kw_alignas, tok::kw__Alignas) && in ParseAlignmentSpecifier()
3418 assert(Tok.isOneOf(tok::kw__ExtInt, tok::kw__BitInt) && in ParseExtIntegerArgument()
3454 Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype, in DiagnoseMissingSemiAfterTagDefinition()
3468 if (Tok.isOneOf(tok::kw_typename, tok::annot_typename)) { in DiagnoseMissingSemiAfterTagDefinition()
3483 if (Next.isOneOf(tok::star, tok::amp, tok::ampamp, tok::identifier, in DiagnoseMissingSemiAfterTagDefinition()
4137 if (NextToken().isOneOf(tok::identifier, tok::kw_const, in ParseDeclarationSpecifiers()
4147 if (!NextToken().isOneOf(tok::kw_auto, tok::kw_decltype)) in ParseDeclarationSpecifiers()
5100 if (Tok.isOneOf(tok::kw__Static_assert, tok::kw_static_assert)) { in ParseStructUnionBody()
5116 if (Tok.isOneOf(tok::annot_pragma_openmp, tok::annot_attr_openmp)) { in ParseStructUnionBody()
5254 if (Tok.isOneOf(tok::kw_class, tok::kw_struct) && getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
6198 GetLookAheadToken(2).isOneOf(tok::kw_auto, tok::kw_decltype); in isDeclarationSpecifier()
6951 if (Tok.isOneOf(tok::identifier, tok::kw_operator, tok::annot_template_id, in ParseDirectDeclarator()
7028 NextToken().isOneOf(tok::comma, tok::greater, tok::greatergreater); in ParseDirectDeclarator()
7032 DiagnoseIdentifier = NextToken().isOneOf(tok::comma, tok::semi); in ParseDirectDeclarator()
7036 DiagnoseIdentifier = NextToken().isOneOf( in ParseDirectDeclarator()
7118 if (Tok.isOneOf(tok::period, tok::arrow)) in ParseDirectDeclarator()
7245 NextToken().isOneOf(tok::comma, tok::r_square, tok::kw_alignas, in ParseDecompositionDeclarator()
7248 NextToken().isOneOf(tok::equal, tok::l_brace))) { in ParseDecompositionDeclarator()
7690 if (Tok.isOneOf(tok::amp, tok::ampamp)) { in ParseRefQualifier()
8315 assert(Tok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual) && in ParseTypeofSpecifier()
8575 assert(Tok.isOneOf(tok::kw__ExtInt, tok::kw__BitInt) && in DiagnoseBitIntUse()