Lines Matching refs:isOneOf
183 while (Tok.isOneOf(tok::l_square, tok::kw___attribute, tok::kw___declspec, in TryConsumeDeclarationSpecifier()
199 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype, in TryConsumeDeclarationSpecifier()
293 if (Tok.isOneOf(tok::kw_asm, tok::kw___attribute)) in TryParseInitDeclaratorList()
434 if (Tok.isOneOf(tok::equal, tok::kw_asm, tok::kw___attribute) || in isCXXConditionDeclarationOrInitStatement()
528 (Tok.isOneOf(tok::greater, tok::comma) || in isCXXTypeId()
695 if (Tok.isOneOf(tok::coloncolon, tok::identifier)) in TryParsePtrOperatorSeq()
699 if (Tok.isOneOf(tok::star, tok::amp, tok::caret, tok::ampamp) || in TryParsePtrOperatorSeq()
703 while (Tok.isOneOf(tok::kw_const, tok::kw_volatile, tok::kw_restrict, in TryParsePtrOperatorSeq()
873 if ((Tok.isOneOf(tok::identifier, tok::kw_operator) || in TryParseDeclarator()
903 if (Tok.isOneOf(tok::kw___attribute, tok::kw___declspec, tok::kw___cdecl, in TryParseDeclarator()
1083 WantTypeSpecifiers = Next.isOneOf(tok::l_paren, tok::r_paren, tok::greater, in TentativeParseCCC()
1269 if (Next.isOneOf(tok::kw_new, // ::new in isCXXDeclarationSpecifier()
1678 if (Next.isOneOf(tok::amp, tok::ampamp, tok::kw_const, tok::kw_volatile, in isCXXFunctionDeclarator()
1800 return Tok.isOneOf(tok::equal, tok::r_paren) ? TPResult::True in TryParseParameterDeclarationClause()
1854 while (Tok.isOneOf(tok::kw_const, tok::kw_volatile, tok::kw_restrict)) in TryParseFunctionDeclarator()
1858 if (Tok.isOneOf(tok::amp, tok::ampamp)) in TryParseFunctionDeclarator()