Lines Matching refs:isOneOf

418             !OpeningBrace->isOneOf(TT_ControlStatementLBrace, TT_ElseLBrace)) {
440 if (!Next->isOneOf(tok::colon, tok::arrow)) {
525 if (PrevTok->isOneOf(tok::colon, tok::less)) {
551 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square);
555 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) &&
570 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in,
582 NextTok->isOneOf(tok::comma, tok::period, tok::colon,
590 LBraceStack.back().PrevTok->isOneOf(tok::identifier,
596 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace));
619 !PrevTok->isOneOf(tok::semi, BK_Block, tok::colon)) {
764 assert((FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) ||
842 assert(Tok->isOneOf(TT_ControlStatementLBrace, TT_ElseLBrace));
1162 if (!Line.Tokens.front().Tok->isOneOf(tok::comment, tok::hash)) {
1227 return !Tok.isOneOf(tok::semi, tok::l_brace,
1250 !FormatTok->isOneOf(
1263 FormatTok->isOneOf(tok::kw_true, tok::kw_false) ||
1271 return FormatTok->isOneOf(
1290 return Tok.isOneOf(tok::kw_char, tok::kw_short, tok::kw_int, tok::kw_long,
1316 !Tok->isOneOf(tok::kw_register, tok::kw_struct, tok::kw_union)) {
1331 return Tok->Previous && Tok->Previous->isOneOf(tok::l_paren, tok::comma);
1339 !Token->isOneOf(tok::colon, tok::less, tok::string_literal)) {
1351 while (!FormatTok->isOneOf(tok::semi, tok::greater, tok::eof)) {
1410 Previous->isOneOf(tok::r_square, tok::r_paren, tok::plusplus,
1440 if (FormatTok->isOneOf(Keywords.kw_foreach, Keywords.kw_repeat)) {
1444 if (FormatTok->isOneOf(tok::kw_restrict, Keywords.kw_assert,
1452 if (FormatTok->isOneOf(Keywords.kw_priority, Keywords.kw_unique,
1660 if (IsCpp && FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
1788 if (Previous && Previous->isOneOf(tok::less, tok::arrow, tok::comma)) {
1805 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS,
2170 Tok->isOneOf(tok::semi, Keywords.kw_internal, Keywords.kw_get,
2172 if (Tok->isOneOf(Keywords.kw_get, Keywords.kw_init, Keywords.kw_set))
2224 if (FormatTok->isOneOf(Keywords.kw_get, Keywords.kw_init,
2368 !Previous->isOneOf(tok::kw_return, tok::kw_co_await,
2417 while (!FormatTok->isOneOf(tok::l_brace, tok::semi) && !eof())
2574 (PrevPrev->isOneOf(tok::kw___attribute, tok::kw_decltype) ||
2576 (PrevPrev->isOneOf(tok::kw_if, tok::kw_while) ||
2582 Prev && Prev->isOneOf(tok::kw_return, tok::kw_co_return) && Next &&
2805 // Tok.isOneOf(tok::l_brace, TT_MacroBlockBegin) work.
2815 FormatTok->isOneOf(tok::kw_restrict, Keywords.kw_assert,
2826 } else if (FormatTok->isOneOf(Keywords.kw_final, Keywords.kw_property,
2849 if (FormatTok->isOneOf(tok::kw_constexpr, tok::identifier))
2984 assert(FormatTok->isOneOf(tok::kw_try, tok::kw___try) && "'try' expected");
3044 if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except,
3058 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof)) {
3083 assert(FormatTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro) &&
3091 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::kw_inline,
3151 if (FormatTok->isOneOf(tok::semi, tok::comma))
3164 if (FormatTok->isOneOf(tok::semi, tok::l_brace, tok::r_brace))
3206 assert((FormatTok->isOneOf(tok::kw_for, tok::kw_while, TT_ForEachMacro) ||
3208 FormatTok->isOneOf(Keywords.kw_always, Keywords.kw_always_comb,
3215 !FormatTok->isOneOf(tok::kw_for, tok::kw_while);
3414 if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots))
3785 if (Style.isJavaScript() && FormatTok->isOneOf(tok::colon, tok::question))
3794 if (FormatTok->isOneOf(tok::kw_class, tok::kw_struct))
3802 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less,
3939 if (Tok->isOneOf(tok::l_brace, tok::semi)) {
4007 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash,
4011 FormatTok->isOneOf(tok::period, tok::comma))) {
4013 FormatTok->isOneOf(Keywords.kw_extends, Keywords.kw_implements)) {
4058 if (FormatTok->isOneOf(tok::colon, tok::less)) {
4145 assert(FormatTok->isOneOf(tok::l_paren, tok::identifier) &&
4169 if (FormatTok->isOneOf(tok::semi, tok::l_brace) ||
4192 } else if (FormatTok->isOneOf(tok::minus, tok::plus)) {
4251 if (FormatTok->isOneOf(tok::semi, tok::l_brace) ||
4321 if (!IsImport && !FormatTok->isOneOf(tok::l_brace, tok::star) &&
4324 Tokens->peekNextToken()->isOneOf(tok::l_brace, tok::star))) {
4358 if (FormatTok->isOneOf(tok::star, tok::period, tok::periodstar,
4400 } else if (FormatTok->isOneOf(tok::kw_case, Keywords.kw_casex,
4410 if (FormatTok->isOneOf(Keywords.kw_inside, Keywords.kw_matches))
4425 FormatTok->isOneOf(Keywords.kw_automatic, tok::kw_static)) {
4502 else if (Tok->isOneOf(tok::star, tok::colon, tok::question, tok::minus))
4830 while (FormatTok->isOneOf(TT_ConflictStart, TT_ConflictEnd,