Lines Matching refs:isOneOf
1020 assert(Tok.isOneOf(tok::kw_static_assert, tok::kw__Static_assert) && in ParseStaticAssertDeclaration()
1121 assert(Tok.isOneOf(tok::kw_decltype, tok::annot_decltype) && in ParseDecltypeSpecifier()
1255 assert(Tok.isOneOf(tok::annot_pack_indexing_type, tok::identifier) && in ParsePackIndexingType()
1424 if (Tok.isOneOf(tok::kw_decltype, tok::annot_decltype)) { in ParseBaseTypeSpecifier()
1544 while (Tok.isOneOf(tok::kw___single_inheritance, in ParseMicrosoftInheritanceClassAttributes()
1747 if (Tok.isOneOf(tok::kw___single_inheritance, in ParseClassSpecifier()
1766 Tok.isOneOf( in ParseClassSpecifier()
2069 if (Tok.isOneOf(tok::l_brace, tok::colon)) in ParseClassSpecifier()
2878 Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw___super)) { in ParseCXXClassMemberDeclaration()
2931 Tok.isOneOf(tok::kw_static_assert, tok::kw__Static_assert)) { in ParseCXXClassMemberDeclaration()
3075 if (!After.isOneOf(tok::semi, tok::comma) && in ParseCXXClassMemberDeclaration()
3077 After.isOneOf(tok::l_brace, tok::colon, tok::kw_try))) in ParseCXXClassMemberDeclaration()
3121 if (Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try)) { in ParseCXXClassMemberDeclaration()
3197 if (Tok.isOneOf(tok::equal, tok::l_brace) && PureSpecLoc.isInvalid()) { in ParseCXXClassMemberDeclaration()
3417 assert(Tok.isOneOf(tok::equal, tok::l_brace) && in ParseCXXMemberInitializer()
3443 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXMemberInitializer()
3963 Tok.isOneOf(tok::identifier, tok::coloncolon)) { in ParseConstructorInitializer()
4632 if (!Tok.isOneOf(tok::r_paren, tok::r_square)) { in ParseCXXAssumeAttributeArg()
4866 while (!Tok.isOneOf(tok::r_square, tok::semi, tok::eof)) { in ParseCXX11AttributeSpecifierInternal()
5195 if (Tok.isOneOf(tok::kw___if_exists, tok::kw___if_not_exists)) { in ParseMicrosoftIfExistsClassDeclaration()