Home | History | Annotate | Download | only in Format

Lines Matching refs:isOneOf

465         if (PrevTok->isOneOf(tok::colon, tok::less))
490 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square);
494 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) &&
507 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in,
510 NextTok->isOneOf(tok::comma, tok::period, tok::colon,
514 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace)) ||
585 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) &&
701 if (InitialToken.isOneOf(tok::kw_namespace, TT_NamespaceMacro))
888 if (!Line.Tokens.front().Tok->isOneOf(tok::comment, tok::hash)) {
957 !FormatTok->isOneOf(
970 FormatTok->isOneOf(tok::kw_true, tok::kw_false) ||
978 return FormatTok->isOneOf(
1034 Previous->isOneOf(tok::r_square, tok::r_paren, tok::plusplus,
1197 FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
1310 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS,
1549 if (Tok->isOneOf(tok::semi, tok::kw_public, tok::kw_private,
1552 if (Tok->isOneOf(Keywords.kw_get, Keywords.kw_set))
1604 if (FormatTok->isOneOf(Keywords.kw_get, Keywords.kw_set) &&
1716 (Previous->isOneOf(tok::identifier, tok::kw_operator, tok::kw_new,
1764 while (!FormatTok->isOneOf(tok::l_brace, tok::semi) && !eof())
1991 if (FormatTok->Tok.isOneOf(tok::kw_constexpr, tok::identifier))
2037 assert(FormatTok->isOneOf(tok::kw_try, tok::kw___try) && "'try' expected");
2091 if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except,
2105 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof))
2122 assert(FormatTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro) &&
2130 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::kw_inline,
2183 if (FormatTok->isOneOf(tok::semi, tok::comma))
2196 if (FormatTok->isOneOf(tok::semi, tok::l_brace, tok::r_brace))
2213 assert(FormatTok->isOneOf(tok::kw_for, tok::kw_while, TT_ForEachMacro) &&
2333 if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots))
2383 FormatTok->isOneOf(tok::identifier, tok::kw_requires, tok::coloncolon)) {
2385 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::less,
2419 if (!FormatTok->Tok.isOneOf(tok::ampamp, tok::pipepipe)) {
2421 !FormatTok->Previous->isOneOf(tok::identifier, tok::kw_requires,
2461 FormatTok->isOneOf(tok::colon, tok::question))
2473 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less,
2597 if (Tok->isOneOf(tok::l_brace, tok::semi)) {
2657 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash,
2662 FormatTok->isOneOf(tok::period, tok::comma))) {
2664 FormatTok->isOneOf(Keywords.kw_extends, Keywords.kw_implements)) {
2701 if (FormatTok->isOneOf(tok::colon, tok::less)) {
2736 assert(FormatTok->Tok.isOneOf(tok::l_paren, tok::identifier) &&
2760 if (FormatTok->isOneOf(tok::semi, tok::l_brace) ||
2782 } else if (FormatTok->isOneOf(tok::minus, tok::plus)) {
2842 if (FormatTok->isOneOf(tok::semi, tok::l_brace) ||
2910 if (!IsImport && !FormatTok->isOneOf(tok::l_brace, tok::star) &&