Lines Matching refs:isOneOf
62 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok::r_brace,
71 if (CurrentToken->Previous->isOneOf(tok::pipepipe, tok::ampamp) &&
110 (Left->Previous->isOneOf(tok::kw_static_assert, tok::kw_if,
155 Prev->isOneOf(tok::star, tok::amp, tok::ampamp) &&
164 CurrentToken->Previous->Previous->isOneOf(tok::l_paren,
199 if (CurrentToken->isOneOf(tok::r_square, tok::r_brace))
207 if (CurrentToken->isOneOf(tok::kw_const, tok::kw_auto) ||
232 (!Parent || Parent->isOneOf(tok::colon, tok::l_square, tok::l_paren,
278 if (CurrentToken->isOneOf(tok::r_paren, tok::r_brace))
315 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square))
407 !Line.First->isOneOf(tok::kw_enum, tok::kw_case)) {
466 !CurrentToken->isOneOf(tok::l_paren, tok::semi, tok::r_paren)) {
467 if (CurrentToken->isOneOf(tok::star, tok::amp))
694 !Line.First->isOneOf(tok::kw_template, tok::kw_using) &&
698 Previous && !Previous->isOneOf(tok::comma, tok::semi);
700 if (Previous->isOneOf(tok::r_square, tok::r_paren))
703 Previous->isOneOf(tok::star, tok::amp)) {
707 } else if (Current.isOneOf(tok::kw_return, tok::kw_throw)) {
718 Current.Previous->isOneOf(tok::kw_for, tok::kw_catch);
720 } else if (Current.isOneOf(tok::r_paren, tok::greater, tok::comma)) {
722 Previous && Previous->isOneOf(tok::star, tok::amp);
748 } else if (Current.isOneOf(tok::star, tok::amp, tok::ampamp)) {
753 } else if (Current.isOneOf(tok::minus, tok::plus, tok::caret)) {
757 } else if (Current.isOneOf(tok::minusminus, tok::plusplus)) {
791 PreviousNoComment->isOneOf(tok::comma, tok::l_brace))
793 } else if (Current.isOneOf(tok::identifier, tok::kw_const) &&
851 Tok.Next && Tok.Next->isOneOf(tok::equal, tok::semi, tok::l_brace);
853 LeftOfParens && LeftOfParens->isOneOf(tok::kw_sizeof, tok::kw_alignof);
860 Tok.Next->isOneOf(tok::kw_sizeof, tok::kw_alignof)))
870 if (Tok.Next->isOneOf(tok::identifier, tok::numeric_constant)) {
875 if (Prev && Prev->isOneOf(tok::amp, tok::star))
880 Tok.Next->isOneOf(tok::amp, tok::star);
881 IsCast = NextIsUnary && Tok.Next->Next->isOneOf(
886 if (!Prev || !Prev->isOneOf(tok::kw_const, tok::identifier)) {
911 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace,
926 PrevToken->MatchingParen->Previous->isOneOf(tok::kw_typeof,
931 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true,
934 NextToken->isOneOf(tok::kw_true, tok::kw_false) ||
962 if (PrevToken->isOneOf(tok::equal, tok::l_paren, tok::comma, tok::l_square,
980 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier))
1102 else if (Current->isOneOf(tok::period, tok::arrow))
1233 if (Tok->isOneOf(tok::l_brace, tok::string_literal) || Tok->Tok.isLiteral())
1272 if (Parameter->isOneOf(tok::comment, tok::r_brace))
1333 Current->isOneOf(tok::comment, tok::string_literal)) {
1377 if (Left.isOneOf(tok::kw_class, tok::kw_struct))
1467 if (Left.isOneOf(tok::hashhash, tok::hash))
1479 if (Right.isOneOf(tok::semi, tok::comma))
1487 if (Left.isOneOf(tok::exclaim, tok::tilde))
1490 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant,
1498 !Left.isOneOf(tok::identifier, tok::greater, tok::l_paren,
1500 if (Left.is(tok::less) || Right.isOneOf(tok::greater, tok::less))
1518 !Left.Previous->isOneOf(tok::l_paren, tok::coloncolon));
1539 Left.isOneOf(tok::kw_new, tok::kw_delete, tok::semi) ||
1541 (Left.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while,
1545 Left.isOneOf(tok::identifier, tok::kw___attribute) &&
1557 return !Left.isOneOf(tok::l_paren, tok::l_square, tok::at) &&
1559 if ((Left.isOneOf(tok::identifier, tok::greater, tok::r_square,
1603 return !Line.First->isOneOf(tok::kw_case, tok::kw_default) &&
1615 if (Tok.isOneOf(tok::arrowstar, tok::periodstar) ||
1616 Tok.Previous->isOneOf(tok::arrowstar, tok::periodstar))
1695 BeforeClosingBrace->isOneOf(tok::comma, tok::comment))
1778 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal, tok::l_paren,
1805 !Left.isOneOf(tok::arrowstar, tok::lessless) &&
1807 Left.isOneOf(tok::comma, tok::coloncolon, tok::semi, tok::l_brace,
1810 Right.isOneOf(tok::lessless, tok::colon, tok::l_square, tok::at) ||
1812 Right.isOneOf(tok::identifier, tok::kw_const)) ||